Issue #453: now run_tests.py checks ispc_exe availability otherwise prints an error message
This commit is contained in:
@@ -97,10 +97,8 @@ ispc_exists = False
|
|||||||
for counter in PATH_dir:
|
for counter in PATH_dir:
|
||||||
if os.path.exists(counter + os.sep + options.compiler_exe):
|
if os.path.exists(counter + os.sep + options.compiler_exe):
|
||||||
compiler_exists = True
|
compiler_exists = True
|
||||||
break
|
if (os.path.exists(counter + os.sep + "ispc") or os.path.exists(counter + os.sep + "ispc.exe")):
|
||||||
if os.path.exists(counter + os.sep + "ispc_exe"):
|
|
||||||
ispc_exists = True
|
ispc_exists = True
|
||||||
break
|
|
||||||
|
|
||||||
if not compiler_exists:
|
if not compiler_exists:
|
||||||
sys.stderr.write("Fatal error: missing the required compiler: %s \n" %
|
sys.stderr.write("Fatal error: missing the required compiler: %s \n" %
|
||||||
|
|||||||
Reference in New Issue
Block a user