diff --git a/test/test_compile_lib.py b/test/test_compile_lib.py index d53df8cb..42b55904 100644 --- a/test/test_compile_lib.py +++ b/test/test_compile_lib.py @@ -21,3 +21,8 @@ def check_compile_lib(scheme_name, implementation_name): ['make'], implementation.path() ) + + +if __name__ == '__main__': + import nose + nose.runmodule() diff --git a/test/test_functest.py b/test/test_functest.py index b40ad2c9..0b255075 100644 --- a/test/test_functest.py +++ b/test/test_functest.py @@ -21,3 +21,8 @@ def check_functest(scheme_name, implementation_name): ['./functest_{}_{}'.format(scheme_name, implementation_name)], os.path.join('..', 'bin'), ) + + +if __name__ == '__main__': + import nose + nose.runmodule() diff --git a/test/test_license.py b/test/test_license.py index 707f170d..e06e703e 100644 --- a/test/test_license.py +++ b/test/test_license.py @@ -15,3 +15,8 @@ def check_license(scheme_name, implementation_name): p1 = os.path.join(implementation.path(), 'LICENSE') p2 = os.path.join(implementation.path(), 'LICENSE.txt') assert(os.path.isfile(p1) or os.path.isfile(p2)) + + +if __name__ == '__main__': + import nose + nose.runmodule() diff --git a/test/test_metadata.py b/test/test_metadata.py index 1faf8a73..44a9257f 100644 --- a/test/test_metadata.py +++ b/test/test_metadata.py @@ -116,3 +116,8 @@ def check_element(field, element, props): if type_ == dict: check_spec(element, props['spec'].items()) + + +if __name__ == '__main__': + import nose + nose.runmodule() diff --git a/test/test_symbol_namespace.py b/test/test_symbol_namespace.py index 33386b5f..6ae9485a 100644 --- a/test/test_symbol_namespace.py +++ b/test/test_symbol_namespace.py @@ -44,3 +44,8 @@ def check_symbol_namespace(scheme_name, implementation_name): for symbol in non_namespaced: print("\ttype: {}, symbol: {}".format(symtype, symbol)) assert(False) + + +if __name__ == '__main__': + import nose + nose.runmodule()