]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
strcmp-1.x: New file.
authorRichard Sandiford <richard@codesourcery.com>
Thu, 8 Mar 2007 16:38:54 +0000 (16:38 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 8 Mar 2007 16:38:54 +0000 (16:38 +0000)
gcc/testsuite/
* gcc.c-torture/execute/strcmp-1.x: New file.  XFAIL execution
for VxWorks kernel mode.
* gcc.c-torture/execute/strncmp-1.x: Likewise.

From-SVN: r122703

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 46924aaccdc74e54c3beb988ba5226434999ca6f..4de1a123ab955bbd71d05081ee835a1511cc7b6e 100644 (file)
@@ -1,3 +1,9 @@
+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
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