From: Tom de Vries Date: Tue, 25 Nov 2014 20:30:20 +0000 (+0000) Subject: Ensure single 'UNSUPPORTED: prettyprinters.exp' message X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a848e9de19965f3e21b48ececef1d64765d3d76;p=gcc.git Ensure single 'UNSUPPORTED: prettyprinters.exp' message 2014-11-25 Tom de Vries * testsuite/libstdc++-prettyprinters/prettyprinters.exp: Add missing dg-finish. Only print unsupported message once. From-SVN: r218060 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 0c4cce9ed36..dc1a4db03c7 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2014-11-25 Tom de Vries + + * testsuite/libstdc++-prettyprinters/prettyprinters.exp: Add missing + dg-finish. Only print unsupported message once. + 2014-11-25 Tim Shen PR libstdc++/63920 diff --git a/libstdc++-v3/testsuite/libstdc++-prettyprinters/prettyprinters.exp b/libstdc++-v3/testsuite/libstdc++-prettyprinters/prettyprinters.exp index a57660f07db..e5be5b535e4 100644 --- a/libstdc++-v3/testsuite/libstdc++-prettyprinters/prettyprinters.exp +++ b/libstdc++-v3/testsuite/libstdc++-prettyprinters/prettyprinters.exp @@ -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 }