* 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
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.
--- /dev/null
+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
--- /dev/null
+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