From fa01b63fa534ea9e8f19cf9901e767bf1e839886 Mon Sep 17 00:00:00 2001 From: Jean-Luc Duprat Date: Tue, 10 Jan 2012 11:41:08 -0800 Subject: [PATCH] Remove assumption that . is in the PATH in run_tests.py --- run_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run_tests.py b/run_tests.py index a7da640f..a448ca9c 100755 --- a/run_tests.py +++ b/run_tests.py @@ -149,7 +149,7 @@ def run_test(filename): # is this a test to make sure an error is issued? want_error = (filename.find("tests_errors") != -1) if want_error == True: - ispc_cmd = "ispc --werror --nowrap %s --arch=%s --target=%s" % \ + ispc_cmd = "./ispc --werror --nowrap %s --arch=%s --target=%s" % \ (filename, options.arch, options.target) (return_code, output) = run_command(ispc_cmd) got_error = (return_code != 0) @@ -228,7 +228,7 @@ def run_test(filename): if should_fail: cc_cmd += " -DEXPECT_FAILURE" - ispc_cmd = "ispc --woff %s -o %s --arch=%s --target=%s" % \ + ispc_cmd = "./ispc --woff %s -o %s --arch=%s --target=%s" % \ (filename, obj_name, options.arch, options.target) if options.no_opt: ispc_cmd += " -O0"