blob: 9e714aa8407b9d2a8f66f2f7cafe1c9b54ff87c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/usr/bin/env python3
try:
import yappi
except ImportError:
print("yappi is required to run the tests. Aborting.")
exit(0)
import unittest
import sys
if __name__ == '__main__':
sys.path.append('t/')
sys.path.append('aergia/')
t_loader = unittest.defaultTestLoader
t_runner = unittest.TextTestRunner(verbosity=2)
t = ['test_functionality', 'test_yappi_adaptations']
t = ['test_yappi_adaptations']
t_suite = t_loader.loadTestsFromNames(t)
result = t_runner.run(t_suite)
sys.exit(not result.wasSuccessful())
|