Merge pull request #1054 from larsclausen/fix-run_ivl_py
Fix run_ivl.py
This commit is contained in:
commit
bc119f96a9
|
|
@ -188,12 +188,6 @@ def check_run_outputs(options : dict, it_stdout : str, log_list : list) -> list:
|
||||||
fd.readline()
|
fd.readline()
|
||||||
diff_data2 = fd.read()
|
diff_data2 = fd.read()
|
||||||
|
|
||||||
if expected_fail:
|
|
||||||
if diff_data1 == diff_data2:
|
|
||||||
return [1, "Failed - Passed, but expected failure"]
|
|
||||||
else:
|
|
||||||
return [0, "Passed"]
|
|
||||||
else:
|
|
||||||
if diff_data1 == diff_data2:
|
if diff_data1 == diff_data2:
|
||||||
return [0, "Passed"]
|
return [0, "Passed"]
|
||||||
else:
|
else:
|
||||||
|
|
@ -207,9 +201,6 @@ def check_run_outputs(options : dict, it_stdout : str, log_list : list) -> list:
|
||||||
|
|
||||||
# If there is no PASSED output, and nothing else to check, then
|
# If there is no PASSED output, and nothing else to check, then
|
||||||
# assume a failure.
|
# assume a failure.
|
||||||
if expected_fail:
|
|
||||||
return [0, "Passed"]
|
|
||||||
else:
|
|
||||||
return [1, "Failed - No PASSED output, and no gold file"]
|
return [1, "Failed - No PASSED output, and no gold file"]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue