summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/arm.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/arm/arm.exp')
-rw-r--r--gcc/testsuite/gcc.target/arm/arm.exp7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/arm/arm.exp b/gcc/testsuite/gcc.target/arm/arm.exp
index 0838d37b3f0..dc6c16ad522 100644
--- a/gcc/testsuite/gcc.target/arm/arm.exp
+++ b/gcc/testsuite/gcc.target/arm/arm.exp
@@ -30,6 +30,11 @@ if ![info exists DEFAULT_CFLAGS] then {
set DEFAULT_CFLAGS " -ansi -pedantic-errors"
}
+# This variable should only apply to tests called in this exp file.
+global dg_runtest_extra_prunes
+set dg_runtest_extra_prunes ""
+lappend dg_runtest_extra_prunes "warning: switch -m(cpu|arch)=.* conflicts with -m(cpu|arch)=.* switch"
+
# Initialize `dg'.
dg-init
@@ -39,3 +44,5 @@ dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cCS\]]] \
# All done.
dg-finish
+
+set dg_runtest_extra_prunes ""