mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2026-01-04 18:20:09 +01:00
added first unittest for osaca
This commit is contained in:
16
tests/all_tests.py
Executable file
16
tests/all_tests.py
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr//bin/env python
|
||||
|
||||
import sys
|
||||
|
||||
import unittest
|
||||
|
||||
|
||||
sys.path[0:0] = ['.', '..']
|
||||
suite = unittest.TestLoader().loadTestsFromNames(
|
||||
[
|
||||
'test_osaca'
|
||||
]
|
||||
)
|
||||
|
||||
testresult = unittest.TextTestRunner(verbosity=2).run(suite)
|
||||
sys.exit(0 if testresult.wasSuccessful() else 1)
|
||||
Reference in New Issue
Block a user