Ensure single 'UNSUPPORTED: prettyprinters.exp' message

2014-11-25  Tom de Vries  <tom@codesourcery.com>

	* testsuite/libstdc++-prettyprinters/prettyprinters.exp: Add missing
	dg-finish.  Only print unsupported message once.

From-SVN: r218060
This commit is contained in:
Tom de Vries 2014-11-25 20:30:20 +00:00 committed by Tom de Vries
parent 21c6c24fa9
commit 6a848e9de1
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-11-25 Tom de Vries <tom@codesourcery.com>
* testsuite/libstdc++-prettyprinters/prettyprinters.exp: Add missing
dg-finish. Only print unsupported message once.
2014-11-25 Tim Shen <timshen@google.com>
PR libstdc++/63920

View File

@ -30,7 +30,14 @@ if ![info exists ::env(GUALITY_GDB_NAME)] {
}
if {! [gdb_version_check]} {
dg-finish
# Only print unsupported message in one instance.
if ![gcc_parallel_test_run_p prettyprinters] {
return
}
gcc_parallel_test_enable 0
unsupported "prettyprinters.exp"
gcc_parallel_test_enable 1
return
}