Commit efce71c6 by Richard Earnshaw Committed by Richard Earnshaw

f-torture.exp (f_torture_compile): Prune the warnings before testing that no…

f-torture.exp (f_torture_compile): Prune the warnings before testing that no relevant ones were found.

* lib/f-torture.exp (f_torture_compile): Prune the warnings before
testing that no relevant ones were found.

From-SVN: r38944
parent c3ffea50
2001-01-12 Richard Earnshaw <rearnsha@arm.com>
* lib/f-torture.exp (f_torture_compile): Prune the warnings before
testing that no relevant ones were found.
2001-01-12 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/cast2.C: New test.
......
......@@ -89,6 +89,9 @@ proc f-torture-compile { src option } {
return
}
# Prune warnings we know are unwanted.
set comp_output [prune_warnings $comp_output]
# We shouldn't get these because of -w, but just in case.
if [string match "*77*:*warning:*" $comp_output] then {
warning "$testcase: (with warnings) $option"
......@@ -98,8 +101,6 @@ proc f-torture-compile { src option } {
return
}
set comp_output [prune_warnings $comp_output]
set unsupported_message [g77_check_unsupported_p $comp_output]
if { $unsupported_message != "" } {
unsupported "$testcase: $unsupported_message"
......
Markdown is supported
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