This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[ob][PATCH] ppc32: Make atomic instruction testcase failure quiet.
- From: Luis Machado <luisgpm at linux dot vnet dot ibm dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 16 May 2008 18:06:39 -0300
- Subject: [ob][PATCH] ppc32: Make atomic instruction testcase failure quiet.
- Reply-to: luisgpm at linux dot vnet dot ibm dot com
Hi,
This should be obvious enough. ppc32 doesn't support the atomic
instructions tested by this testcase and it shows expected compiler
errors. This patch makes those messages go away.
Regards,
Luis
2008-04-16 Luis Machado <luisgpm@br.ibm.com>
* gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
quiet for ppc32 and group options into a single variable.
Index: testsuite/gdb.arch/ppc64-atomic-inst.exp
===================================================================
--- testsuite.orig/gdb.arch/ppc64-atomic-inst.exp 2008-05-16 17:52:09.000000000 -0300
+++ testsuite/gdb.arch/ppc64-atomic-inst.exp 2008-05-16 17:56:50.000000000 -0300
@@ -35,9 +35,9 @@
set testfile "ppc64-atomic-inst"
set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}
-set compile_flags "debug"
+set compile_flags "debug quiet"
-if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [concat debug additional_flags=-m64]] != "" } {
+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [concat $compile_flags additional_flags=-m64]] != "" } {
unsupported "Testcase compile failed."
return -1
}