Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [ob][PATCH] ppc32: Make atomic instruction testcase failure quiet.
@ 2008-05-17 13:53 Luis Machado
  2008-05-27 18:43 ` Luis Machado
  0 siblings, 1 reply; 2+ messages in thread
From: Luis Machado @ 2008-05-17 13:53 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 202 bytes --]

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


[-- Attachment #2: clean-atomic-test.diff --]
[-- Type: text/x-patch, Size: 965 bytes --]

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
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-26 15:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-17 13:53 [ob][PATCH] ppc32: Make atomic instruction testcase failure quiet Luis Machado
2008-05-27 18:43 ` Luis Machado

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox