From 4ab89de343814589d1765b6fb216a1b273db714f Mon Sep 17 00:00:00 2001 From: Vsevolod Livinskij Date: Wed, 3 Apr 2013 02:58:16 +0400 Subject: [PATCH] Issue #453: now run_tests.py checks ispc_exe availability otherwise prints an error message --- run_tests.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/run_tests.py b/run_tests.py index 1c75b977..2f243e3a 100755 --- a/run_tests.py +++ b/run_tests.py @@ -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" %