Update run.py

Regression tests: fix python2.7-style logs via print
pull/854/head
Kim Kulling 2016-04-13 09:21:26 +02:00
parent 9e922582c0
commit 1cce8426c6
1 changed files with 3 additions and 3 deletions

View File

@ -166,7 +166,7 @@ def getEnvVar( var ):
if Environment.has_key( var ):
return Environment[ var ]
else:
print "Error: cannot find " + var
print ( "Error: cannot find " + var )
return ""
# -------------------------------------------------------------------------------
@ -217,12 +217,12 @@ def process_dir(d, outfile_results, zipin, result ):
outfile_results.write("assimp dump "+"-"*80+"\n")
outfile_results.flush()
assimp_bin_path = getEnvVar("assimp_path")
print "assimp_bin_path = ", assimp_bin_path
print( assimp_bin_path = " + assimp_bin_pat )
command = [assimp_bin_path,
"dump",
fullpath, outfile_actual, "-b", "-s", "-l" ] +\
pppreset.split()
print "command = ", command
print(command = " + command )
r = subprocess.call(command, **shellparams)
outfile_results.flush()