strcmp-1.x: New file.

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
This commit is contained in:
Richard Sandiford 2007-03-08 16:38:54 +00:00 committed by Richard Sandiford
parent 9d002493d4
commit 0c705abc64
3 changed files with 38 additions and 0 deletions

View 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

View File

@ -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

View File

@ -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