Commit e1743089 authored by simonmar's avatar simonmar
Browse files

[project @ 2001-08-17 13:00:24 by simonmar]

Use say_fail_if_noteq() rather than inline version.
parent 212adadf
......@@ -305,8 +305,7 @@ def vanilla-compok-test-actions ( $extra_compile_args )
then $stderr_a = normalise_errmsg(contents($actual_stderr))
$stderr_e = normalise_errmsg(contents($expected_stderr))
if $stderr_e /= $stderr_a
then print "UNMATCHED WARNING MSGS:"
$dummy = runCmd($diff ++ " " ++ $expected_stderr ++ " " ++ $actual_stderr)
then say_fail_because_noteq($expected_stderr, $actual_stderr)
return False
else return True
fi
......@@ -345,8 +344,8 @@ def vanilla-compfail-test-actions ( $extra_compile_args )
$stderr_e = normalise_errmsg(contents($expected_stderr))
if $stderr_e /= $stderr_a
then print "UNMATCHED ERROR MSGS:"
$dummy = runCmd($diff ++ " " ++ $expected_stderr ++ " " ++ $actual_stderr)
then say_fail_because_noteq($expected_stderr, $actual_stderr)
return False
fi
if $res /= "0" && $stderr_e == $stderr_a
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment