[testsuite] Run dg-final.exp sequentially
authorTom de Vries <tdevries@suse.de>
Fri, 15 Jun 2018 18:51:07 +0000 (18:51 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Fri, 15 Jun 2018 18:51:07 +0000 (18:51 +0000)
2018-06-15  Tom de Vries  <tdevries@suse.de>

* gcc.dg-selftests/dg-final.exp: Force sequential execution.

From-SVN: r261643

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg-selftests/dg-final.exp

index fc0659608daf4f876c3f81a6bc99dcc28eb3bae7..72b8615a612b3ae3f0cdef34039c2a24a7614d98 100644 (file)
@@ -1,3 +1,7 @@
+2018-06-15  Tom de Vries  <tdevries@suse.de>
+
+       * gcc.dg-selftests/dg-final.exp: Force sequential execution.
+
 2018-06-15  Nick Clifton  <nickc@redhat.com>
 
        PR 84195
index 6aa0f64db87ed68dcc4a1e8369df959eb3f653f8..79ffeb3b14f75a2572af3b5d96c2f9459d541687 100644 (file)
@@ -98,4 +98,9 @@ proc dg_final_directive_check_num_args {} {
     unset testname_with_flags
 }
 
+if ![gcc_parallel_test_run_p dg-final] {
+    return
+}
+gcc_parallel_test_enable 0
 dg_final_directive_check_num_args
+gcc_parallel_test_enable 1