PATCH: Skip x32 tests for Solaris
H.J. Lu
hongjiu.lu@intel.com
Fri Aug 24 18:00:00 GMT 2012
Hi,
I checked in this patch to skip x32 tests for Solaris.
H.J.
--
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 129e62f..735e0b4 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2012-08-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gas/i386/ilp32/ilp32.exp: Skip Solaris.
+ * gas/i386/ilp32/cfi/ilp32.exp: Likewise.
+ * gas/i386/ilp32/elf/ilp32.exp: Likewise.
+ * gas/i386/ilp32/lns/ilp32.exp: Likewise.
+
2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* gas/arm/armv8-a+crypto.s: Update testcase.
diff --git a/gas/testsuite/gas/i386/ilp32/cfi/ilp32.exp b/gas/testsuite/gas/i386/ilp32/cfi/ilp32.exp
index 9593720..3a6dbd5 100644
--- a/gas/testsuite/gas/i386/ilp32/cfi/ilp32.exp
+++ b/gas/testsuite/gas/i386/ilp32/cfi/ilp32.exp
@@ -9,6 +9,10 @@ proc gas_64_check { } {
return [regexp "targets:.*x86-64" [lindex $status 1]];
}
+if [expr [istarget "i*86-*-solaris*"] || [istarget "x86_64-*-solaris*"]] then {
+ return
+}
+
if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check] && [is_elf_format]] then {
global ASFLAGS
diff --git a/gas/testsuite/gas/i386/ilp32/elf/ilp32.exp b/gas/testsuite/gas/i386/ilp32/elf/ilp32.exp
index 9593720..3a6dbd5 100644
--- a/gas/testsuite/gas/i386/ilp32/elf/ilp32.exp
+++ b/gas/testsuite/gas/i386/ilp32/elf/ilp32.exp
@@ -9,6 +9,10 @@ proc gas_64_check { } {
return [regexp "targets:.*x86-64" [lindex $status 1]];
}
+if [expr [istarget "i*86-*-solaris*"] || [istarget "x86_64-*-solaris*"]] then {
+ return
+}
+
if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check] && [is_elf_format]] then {
global ASFLAGS
diff --git a/gas/testsuite/gas/i386/ilp32/ilp32.exp b/gas/testsuite/gas/i386/ilp32/ilp32.exp
index de43bf2..5197022 100644
--- a/gas/testsuite/gas/i386/ilp32/ilp32.exp
+++ b/gas/testsuite/gas/i386/ilp32/ilp32.exp
@@ -9,7 +9,7 @@ proc gas_64_check { } {
return [regexp "targets:.*x86-64" [lindex $status 1]];
}
-if [istarget "x86_64-*-solaris*"] then {
+if [expr [istarget "i*86-*-solaris*"] || [istarget "x86_64-*-solaris*"]] then {
return
}
diff --git a/gas/testsuite/gas/i386/ilp32/lns/ilp32.exp b/gas/testsuite/gas/i386/ilp32/lns/ilp32.exp
index 9593720..3a6dbd5 100644
--- a/gas/testsuite/gas/i386/ilp32/lns/ilp32.exp
+++ b/gas/testsuite/gas/i386/ilp32/lns/ilp32.exp
@@ -9,6 +9,10 @@ proc gas_64_check { } {
return [regexp "targets:.*x86-64" [lindex $status 1]];
}
+if [expr [istarget "i*86-*-solaris*"] || [istarget "x86_64-*-solaris*"]] then {
+ return
+}
+
if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check] && [is_elf_format]] then {
global ASFLAGS
More information about the Binutils
mailing list