1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-26 09:21:28 +00:00

Also support nose2

This commit is contained in:
Thom Wiggers 2019-02-18 13:51:01 +01:00
parent f11e4ae745
commit 7168644c40
No known key found for this signature in database
GPG Key ID: 001BB0A7CE26E363
5 changed files with 30 additions and 10 deletions

View File

@ -24,5 +24,9 @@ def check_compile_lib(scheme_name, implementation_name):
if __name__ == '__main__': if __name__ == '__main__':
import nose try:
nose.runmodule() import nose2
nose2.main()
except ImportError:
import nose
nose.runmodule()

View File

@ -24,5 +24,9 @@ def check_functest(scheme_name, implementation_name):
if __name__ == '__main__': if __name__ == '__main__':
import nose try:
nose.runmodule() import nose2
nose2.main()
except ImportError:
import nose
nose.runmodule()

View File

@ -18,5 +18,9 @@ def check_license(scheme_name, implementation_name):
if __name__ == '__main__': if __name__ == '__main__':
import nose try:
nose.runmodule() import nose2
nose2.main()
except ImportError:
import nose
nose.runmodule()

View File

@ -119,5 +119,9 @@ def check_element(field, element, props):
if __name__ == '__main__': if __name__ == '__main__':
import nose try:
nose.runmodule() import nose2
nose2.main()
except ImportError:
import nose
nose.runmodule()

View File

@ -47,5 +47,9 @@ def check_symbol_namespace(scheme_name, implementation_name):
if __name__ == '__main__': if __name__ == '__main__':
import nose try:
nose.runmodule() import nose2
nose2.main()
except ImportError:
import nose
nose.runmodule()