diff --git a/alloy.py b/alloy.py index 9b64d2be..c08443a4 100755 --- a/alloy.py +++ b/alloy.py @@ -377,6 +377,7 @@ def validation_run(only, only_targets, reference_branch, number, notify, update, print_debug("\n\nStability validation run\n\n", False, "") stability = options_for_drivers() # stability constant options + stability.save_bin = False stability.random = False stability.ispc_flags = "" stability.compiler_exe = None diff --git a/run_tests.py b/run_tests.py index 1fb5a60c..c9d8f2ff 100755 --- a/run_tests.py +++ b/run_tests.py @@ -64,8 +64,8 @@ def run_command(cmd): sp = subprocess.Popen(arg_list, stdin=None, stdout=subprocess.PIPE, stderr=subprocess.PIPE) - except: - print_debug("ERROR: The child (%s) raised an esception: %s\n" % (cmd, sys.exc_info()[1]), s, run_tests_log) + except: + print_debug("ERROR: The child (%s) raised an exception: %s\n" % (cmd, sys.exc_info()[1]), s, run_tests_log) raise out = sp.communicate() @@ -320,7 +320,7 @@ def run_tasks_from_queue(queue, queue_ret, queue_skip, total_tests_arg, max_test os.chdir(tmpdir) else: olddir = "" - + compile_error_files = [ ] run_error_files = [ ] skip_files = [ ] @@ -347,7 +347,8 @@ def run_tasks_from_queue(queue, queue_ret, queue_skip, total_tests_arg, max_test try: (compile_error, run_error) = run_test(filename) except: - sys.exit(-1) # This is in case the child has unexpectedly died + print_debug("ERROR: run_test function raised an exception: %s\n" % (sys.exc_info()[1]), s, run_tests_log) + sys.exit(-1) # This is in case the child has unexpectedly died or some other exception happened if compile_error != 0: compile_error_files += [ filename ]