gcc/testsuite/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Mar 2007 16:38:54 +0000 (16:38 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Mar 2007 16:38:54 +0000 (16:38 +0000)
* gcc.c-torture/execute/strcmp-1.x: New file.  XFAIL execution
for VxWorks kernel mode.
* gcc.c-torture/execute/strncmp-1.x: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122703 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/strcmp-1.x [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/strncmp-1.x [new file with mode: 0644]

index 46924aa..4de1a12 100644 (file)
@@ -1,5 +1,11 @@
 2007-03-08  Richard Sandiford  <richard@codesourcery.com>
 
+       * gcc.c-torture/execute/strcmp-1.x: New file.  XFAIL execution
+       for VxWorks kernel mode.
+       * gcc.c-torture/execute/strncmp-1.x: Likewise.
+
+2007-03-08  Richard Sandiford  <richard@codesourcery.com>
+
        * gcc.c-torture/execute/ieee/hugeval.x: XFAIL for VxWorks kernel
        mode.
 
diff --git a/gcc/testsuite/gcc.c-torture/execute/strcmp-1.x b/gcc/testsuite/gcc.c-torture/execute/strcmp-1.x
new file mode 100644 (file)
index 0000000..d807481
--- /dev/null
@@ -0,0 +1,16 @@
+if {[istarget i?86-*-vxworks*]
+    || [istarget mips*-*-vxworks*]
+    || [istarget sh*-*-vxworks*]
+    || [istarget sparc*-*-vxworks*]} {
+    # The kernel strcmp doesn't perform unsigned comparisons.
+    set torture_eval_before_execute {
+       global compiler_conditional_xfail_data
+       set compiler_conditional_xfail_data {
+           "The kernel strcmp doesn't perform unsigned comparisons."
+           { "*-*-*" }
+           {}
+           { "-mrtp" }
+       }
+    }
+}
+return 0
diff --git a/gcc/testsuite/gcc.c-torture/execute/strncmp-1.x b/gcc/testsuite/gcc.c-torture/execute/strncmp-1.x
new file mode 100644 (file)
index 0000000..b555e0c
--- /dev/null
@@ -0,0 +1,16 @@
+if {[istarget i?86-*-vxworks*]
+    || [istarget mips*-*-vxworks*]
+    || [istarget sh*-*-vxworks*]
+    || [istarget sparc*-*-vxworks*]} {
+    # The kernel strncmp doesn't perform unsigned comparisons.
+    set torture_eval_before_execute {
+       global compiler_conditional_xfail_data
+       set compiler_conditional_xfail_data {
+           "The kernel strncmp doesn't perform unsigned comparisons."
+           { "*-*-*" }
+           {}
+           { "-mrtp" }
+       }
+    }
+}
+return 0