Compile gdb.arch/arm-neon.c with "quiet"
authorYao Qi <yao.qi@linaro.org>
Tue, 1 Mar 2016 15:07:34 +0000 (15:07 +0000)
committerYao Qi <yao.qi@linaro.org>
Tue, 1 Mar 2016 15:18:48 +0000 (15:18 +0000)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/arm-neon.exp

index 00fe95dda2729915f9e2df22211ab4ef980ac266..828b49864f2cbb0a82c8de4894f89c4efaae5db4 100644 (file)
@@ -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
index 1b8dbc2fb7811008d226705f98d165dcfd9c3832..e11ec25dbf18dfbc41e32f3246cdc08138a4f4c7 100644 (file)
@@ -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
 }