Issue #453: now run_tests.py checks ispc_exe availability otherwise prints an error message

This commit is contained in:
Vsevolod Livinskij
2013-04-03 02:58:16 +04:00
parent 6db460fb81
commit 4ab89de343

View File

@@ -97,10 +97,8 @@ ispc_exists = False
for counter in PATH_dir:
if os.path.exists(counter + os.sep + options.compiler_exe):
compiler_exists = True
break
if os.path.exists(counter + os.sep + "ispc_exe"):
if (os.path.exists(counter + os.sep + "ispc") or os.path.exists(counter + os.sep + "ispc.exe")):
ispc_exists = True
break
if not compiler_exists:
sys.stderr.write("Fatal error: missing the required compiler: %s \n" %