[SCons/Test] Re-run tests if shared library changes

This commit is contained in:
Ray Speth
2014-10-08 16:54:39 +00:00
parent 17c3b019c0
commit 0db18ad0b1
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -84,6 +84,7 @@ def addTestProgram(subdir, progName, env_vars={}):
PASSED_FILES[progName] = str(passedFile)
testResults.tests[passedFile.name] = program
run_program = testenv.Command(passedFile, program, gtestRunner)
env.Depends(run_program, testenv.get('cantera_shlib', ()))
Alias('test', run_program)
Alias('test-%s' % progName, run_program)
env['testNames'].append(progName)