refactor: small cleanup of test infra to avoid duplicate runs
parent
4323965c0a
commit
08975e3dfc
@ -1,14 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
import system_tests
|
|
||||||
import os
|
|
||||||
import unittest
|
|
||||||
|
|
||||||
bSkip=not (os.path.isfile(system_tests.unit_tests) or os.path.isfile(system_tests.unit_tests + '.exe'))
|
|
||||||
if bSkip:
|
|
||||||
msg='*** %s does not exist ***' % system_tests.unit_tests
|
|
||||||
print(msg)
|
|
||||||
raise unittest.SkipTest(msg)
|
|
||||||
|
|
||||||
system_tests.BT.runTest(system_tests.unit_tests,raw=True)
|
|
||||||
print('')
|
|
@ -1,4 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
import system_tests
|
|
||||||
system_tests.BT.verbose_version(True)
|
|
Loading…
Reference in New Issue