mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-22 23:48:58 +00:00
Also support nose2
This commit is contained in:
parent
f11e4ae745
commit
7168644c40
@ -24,5 +24,9 @@ def check_compile_lib(scheme_name, implementation_name):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
try:
|
||||||
|
import nose2
|
||||||
|
nose2.main()
|
||||||
|
except ImportError:
|
||||||
import nose
|
import nose
|
||||||
nose.runmodule()
|
nose.runmodule()
|
||||||
|
@ -24,5 +24,9 @@ def check_functest(scheme_name, implementation_name):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
try:
|
||||||
|
import nose2
|
||||||
|
nose2.main()
|
||||||
|
except ImportError:
|
||||||
import nose
|
import nose
|
||||||
nose.runmodule()
|
nose.runmodule()
|
||||||
|
@ -18,5 +18,9 @@ def check_license(scheme_name, implementation_name):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
try:
|
||||||
|
import nose2
|
||||||
|
nose2.main()
|
||||||
|
except ImportError:
|
||||||
import nose
|
import nose
|
||||||
nose.runmodule()
|
nose.runmodule()
|
||||||
|
@ -119,5 +119,9 @@ def check_element(field, element, props):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
try:
|
||||||
|
import nose2
|
||||||
|
nose2.main()
|
||||||
|
except ImportError:
|
||||||
import nose
|
import nose
|
||||||
nose.runmodule()
|
nose.runmodule()
|
||||||
|
@ -47,5 +47,9 @@ def check_symbol_namespace(scheme_name, implementation_name):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
try:
|
||||||
|
import nose2
|
||||||
|
nose2.main()
|
||||||
|
except ImportError:
|
||||||
import nose
|
import nose
|
||||||
nose.runmodule()
|
nose.runmodule()
|
||||||
|
Loading…
Reference in New Issue
Block a user