Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

install_test_stress.py: adapt to new testing infrastructure

this makes testing in install_test_stress.py working again
  • Loading branch information...
commit 31eb61c1d5ba5794ae2a6ba22e2e8758cbf6bc51 1 parent 8fd82e4
@strohel authored
Showing with 2 additions and 9 deletions.
  1. +2 −9 support/install_test_stress.py
View
11 support/install_test_stress.py
@@ -90,6 +90,8 @@ def install(mode, options):
commands = []
if options.force_rebuild:
commands.append('clean')
+ if options.run_tests:
+ commands.append('test')
commands.append('install')
orig_dir = os.getcwd()
@@ -101,12 +103,6 @@ def install(mode, options):
check_call(cmdargs)
os.chdir(orig_dir)
-def run_tests(options):
- script = os.path.join(options.pybayes_dir, 'support', 'run_tests.py')
- args = [sys.executable, script]
- print(join(args, ' '))
- call(args)
-
def run_stresses(options):
script = os.path.join(options.pybayes_dir, 'support', 'run_stresses.py')
args = [sys.executable, script, '-d', options.data_dir]
@@ -122,9 +118,6 @@ def main():
install(mode, options)
- if options.run_tests:
- run_tests(options)
-
if options.run_stresses:
run_stresses(options)
Please sign in to comment.
Something went wrong with that request. Please try again.