More portable way of doing print in run_tests.py
This commit is contained in:
@@ -70,7 +70,7 @@ if not os.path.exists(ispc_exe):
|
|||||||
ispc_exe += " " + options.ispc_flags
|
ispc_exe += " " + options.ispc_flags
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
print "ispc compiler: %s\n" % ispc_exe
|
sys.stdout.write("ispc compiler: %s\n" % ispc_exe)
|
||||||
|
|
||||||
is_generic_target = (options.target.find("generic-") != -1 and
|
is_generic_target = (options.target.find("generic-") != -1 and
|
||||||
options.target != "generic-1")
|
options.target != "generic-1")
|
||||||
|
|||||||
Reference in New Issue
Block a user