mirror of
https://github.com/Cantera/cantera.git
synced 2026-08-10 04:58:04 -05:00
[Test] Allow 'runCythonTests' to be called from any working directory
This commit is contained in:
+1
-2
@@ -93,8 +93,7 @@ def addPythonTest(testname, subdir, script, interpreter, outfile,
|
||||
print k,v
|
||||
environ[k] = v
|
||||
code = subprocess.call([env.subst(interpreter), source[0].abspath] + args.split(),
|
||||
env=environ,
|
||||
cwd=workDir)
|
||||
env=environ)
|
||||
if not code:
|
||||
# Test was successful
|
||||
open(target[0].path, 'w').write(time.asctime()+'\n')
|
||||
|
||||
Reference in New Issue
Block a user