This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ob][PATCH] ppc32: Make atomic instruction testcase failure quiet.


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
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]