]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
authorJim Blandy <jimb@codesourcery.com>
Fri, 13 May 2005 17:36:43 +0000 (17:36 +0000)
committerJim Blandy <jimb@codesourcery.com>
Fri, 13 May 2005 17:36:43 +0000 (17:36 +0000)
calling gdb_suppress_entire_file.
* gdb.base/charset.exp: Same.
* gdb.base/call-rt-st.exp: Same.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/e500-regs.exp
gdb/testsuite/gdb.base/call-ar-st.exp
gdb/testsuite/gdb.base/call-rt-st.exp
gdb/testsuite/gdb.base/charset.exp

index 3970593068249ef76365c70347c58a59e754a636..29c0a6ff7dad8590522c6babd7e3c9efcb1aff25 100644 (file)
@@ -1,3 +1,10 @@
+2005-05-13  Jim Blandy  <jimb@redhat.com>
+
+       * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
+       calling gdb_suppress_entire_file.
+       * gdb.base/charset.exp: Same.
+       * gdb.base/call-rt-st.exp: Same.
+
 2005-05-05  Bob Rossi  <bob_rossi@cox.net>
 
        * lib/gdb.exp (fullname_syntax): Added global regex.
index 30dae0a15f76f6ce98ee39ceb625432efc37c036..690e0c3933b96f051e4a0fc0b7bb4c5f406b1a9a 100644 (file)
@@ -32,7 +32,7 @@ if $tracelevel then {
 set prms_id 0
 set bug_id 0
 
-if ![istarget "powerpc-*eabispe"] then {
+if ![istarget "powerpc-*"] then {
     verbose "Skipping e500 register tests."
     return
 }
@@ -85,9 +85,9 @@ gdb_expect {
 # b) the register read (below) also works.
 
 if {$endianness == "big"} {
-set vector_register ".uint64 = 0x100000001, v2_float = .0x0, 0x0., v2_int32 = .0x1, 0x1., v4_int16 = .0x0, 0x1, 0x0, 0x1., v8_int8 = .0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0, 0x1.."
+set vector_register ".uint64 = 0x100000001, dbl = 0x0, v2_float = .0x0, 0x0., v2_int32 = .0x1, 0x1., v4_int16 = .0x0, 0x1, 0x0, 0x1., v8_int8 = .0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0, 0x1.."
 } else {
-set vector_register ".uint64 = 0x100000001, v2_float = .0x0, 0x0., v2_int32 = .0x1, 0x1., v4_int16 = .0x1, 0x0, 0x1, 0x0., v8_int8 = .0x1, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0.."
+set vector_register ".uint64 = 0x100000001, dbl = 0x0, v2_float = .0x0, 0x0., v2_int32 = .0x1, 0x1., v4_int16 = .0x1, 0x0, 0x1, 0x0., v8_int8 = .0x1, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0, 0x0.."
 }
 
 for {set i 0} {$i < 32} {incr i 1} {
@@ -110,9 +110,9 @@ for {set i 0} {$i < 32} {incr i 1} {
 # the way gdb works.
 
 if {$endianness == "big"} {
-     set decimal_vector ".uint64 = 4294967297, v2_float = .1.*e-45, 1.*e-45., v2_int32 = .1, 1., v4_int16 = .0, 1, 0, 1., v8_int8 = ..000.000.000.001.000.000.000.001.."
+     set decimal_vector ".uint64 = 4294967297, dbl = 0, v2_float = .1.*e-45, 1.*e-45., v2_int32 = .1, 1., v4_int16 = .0, 1, 0, 1., v8_int8 = ..000.000.000.001.000.000.000.001.."
 } else {
-     set decimal_vector ".uint64 = 4294967297, v2_float = .1.*e-45, 1.*e-45., v2_int32 = .1, 1., v4_int16 = .1, 0, 1, 0., v8_int8 = ..001.000.000.000.001.000.000.."
+     set decimal_vector ".uint64 = 4294967297, dbl = 0, v2_float = .1.*e-45, 1.*e-45., v2_int32 = .1, 1., v4_int16 = .1, 0, 1, 0., v8_int8 = ..001.000.000.000.001.000.000.."
 }
 
 for {set i 0} {$i < 32} {incr i 1} {
index 9b0e5398a2fc35746ef6b38cd8d36aa8faf92edc..2a5a55b89de8dc9c84a02f8a8d70cc4d30f901d3 100644 (file)
@@ -38,7 +38,8 @@ if { [istarget "sparclet-*-*"] } {
 }
 
 if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
-    gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
+    untested "couldn't compile ${srcdir}/${subdir}/${srcfile}"
+    return -1
 }
 
 
index 7152a4a1d7f718a23e4d69b929c3c154e6f3d345..7e94408a53d1e1eb76bafba061d6eb2cf77cea36 100644 (file)
@@ -43,8 +43,9 @@ if { [istarget "sparclet-*-*"] } {
 }
 
 if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug additional_flags=-w}] != "" } {
-     gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
-    }
+    untested "couldn't compile ${srcdir}/${subdir}/${srcfile}"
+    return -1
+}
 
 
 
index 588bf059c77ce6d7d2fc47a69f5d34bdbe48d543..212f3b3c509d26eb4fee623aab41665d1d1f61d6 100644 (file)
@@ -32,7 +32,8 @@ set testfile "charset"
 set srcfile ${testfile}.c
 set binfile ${objdir}/${subdir}/${testfile}
 if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
-     gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
+    untested "couldn't compile ${srcdir}/${subdir}/${srcfile}"
+    return -1
 }
 
 # Start with a fresh gdb.