aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2018-06-15 18:51:07 +0000
committerTom de Vries <vries@gcc.gnu.org>2018-06-15 18:51:07 +0000
commitdf25ffcc4138d4c65642d9ef9028069d95f6e10c (patch)
tree9b12dca3516fdfffaebc31b674173255bee0b3fa
parent525d67d42f0ad365a666c7908e9df7da55aa2f1e (diff)
downloadgcc-df25ffcc4138d4c65642d9ef9028069d95f6e10c.zip
gcc-df25ffcc4138d4c65642d9ef9028069d95f6e10c.tar.gz
gcc-df25ffcc4138d4c65642d9ef9028069d95f6e10c.tar.bz2
[testsuite] Run dg-final.exp sequentially
2018-06-15 Tom de Vries <tdevries@suse.de> * gcc.dg-selftests/dg-final.exp: Force sequential execution. From-SVN: r261643
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg-selftests/dg-final.exp5
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index fc06596..72b8615 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/gcc/testsuite/gcc.dg-selftests/dg-final.exp b/gcc/testsuite/gcc.dg-selftests/dg-final.exp
index 6aa0f64..79ffeb3 100644
--- a/gcc/testsuite/gcc.dg-selftests/dg-final.exp
+++ b/gcc/testsuite/gcc.dg-selftests/dg-final.exp
@@ -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