aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2016-03-01 15:07:34 +0000
committerYao Qi <yao.qi@linaro.org>2016-03-01 15:18:48 +0000
commitdc856b382065cdfab3f9bb484c07e182950eb4d4 (patch)
treef517e0c18cad1c3fd7ca7fb3228032d0f5cc47a5
parent077fcd6a3b5729044acce83f77ebedd3adbadab0 (diff)
downloadfsf-binutils-gdb-dc856b382065cdfab3f9bb484c07e182950eb4d4.zip
fsf-binutils-gdb-dc856b382065cdfab3f9bb484c07e182950eb4d4.tar.gz
fsf-binutils-gdb-dc856b382065cdfab3f9bb484c07e182950eb4d4.tar.bz2
Compile gdb.arch/arm-neon.c with "quiet"
When we compile gdb.arch/arm-neon.c with options that don't enable NEON, there are many error/warnings emitted into gdb.sum, which is annoying. This patch fixes it by passing quiet to prepare_for_testing. gdb/testsuite: 2016-03-01 Yao Qi <yao.qi@linaro.org> * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.arch/arm-neon.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 00fe95d..828b498 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2016-03-01 Yao Qi <yao.qi@linaro.org>
+
+ * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
+
2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
* gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
diff --git a/gdb/testsuite/gdb.arch/arm-neon.exp b/gdb/testsuite/gdb.arch/arm-neon.exp
index 1b8dbc2..e11ec25 100644
--- a/gdb/testsuite/gdb.arch/arm-neon.exp
+++ b/gdb/testsuite/gdb.arch/arm-neon.exp
@@ -21,7 +21,7 @@ if {![istarget "aarch64*-*-*"] && ![istarget "arm*-*-*"]} {
}
standard_testfile
-if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] } {
+if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} {quiet}] } {
unsupported "ARM NEON is not supported"
return -1
}