Ensure single 'UNSUPPORTED: prettyprinters.exp' message
authorTom de Vries <tom@codesourcery.com>
Tue, 25 Nov 2014 20:30:20 +0000 (20:30 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Tue, 25 Nov 2014 20:30:20 +0000 (20:30 +0000)
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

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/libstdc++-prettyprinters/prettyprinters.exp

index 0c4cce9ed36a402e2190d6d6bf89edf3e9d333d2..dc1a4db03c75676d691bf51d4bf534714861f23b 100644 (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
index a57660f07dbc5698aa2885612da7a29343360a20..e5be5b535e44cf3591c609f6e7e9c6dcf81e7639 100644 (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
 }