aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-12-14 20:59:14 +0000
committerKen Raeburn <raeburn@cygnus>1994-12-14 20:59:14 +0000
commit6273f92d2abb7faeee07a9ea153d6f36c4955ed1 (patch)
tree2e4628d0475770e8392cad358b0ccbabf3a52f53 /binutils/testsuite
parenta2905ef89ea74a07b7f68a92f700a6e899a3b18a (diff)
downloadgdb-6273f92d2abb7faeee07a9ea153d6f36c4955ed1.zip
gdb-6273f92d2abb7faeee07a9ea153d6f36c4955ed1.tar.gz
gdb-6273f92d2abb7faeee07a9ea153d6f36c4955ed1.tar.bz2
disable bintest.o tests on hppa, fix minor sh-coff objcopy setup_xfail problem
Diffstat (limited to 'binutils/testsuite')
-rw-r--r--binutils/testsuite/ChangeLog10
-rw-r--r--binutils/testsuite/binutils-all/objcopy.exp12
2 files changed, 17 insertions, 5 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index f08aa8e..d295263 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,13 @@
+Wed Dec 14 15:54:46 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
+
+ * binutils-all/size.exp: Skip tests requiring bintest.o on hppa,
+ since it (correctly) generates syntax errors on that platform.
+ * binutils-all/objdump.exp: Ditto.
+ * binutils-all/nm.exp: Ditto.
+ * binutils-all/objcopy.exp: Ditto. Also, move setup_xfail for
+ sh-coff to branch where objcopy execution produced no error
+ messages.
+
Thu Dec 8 14:36:15 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* binutils-all/objdump.exp (cpus_expected): New variable, taken
diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp
index b2032d0..7c832f7 100644
--- a/binutils/testsuite/binutils-all/objcopy.exp
+++ b/binutils/testsuite/binutils-all/objcopy.exp
@@ -26,17 +26,17 @@ if {[which $OBJCOPY] == 0} then {
send_user "Version [binutil_version $OBJCOPY]"
+if [istarget hppa*-*-*] then {
+ # bintest.s doesn't assemble, and we don't have any other tests
+ return
+}
+
if {![binutils_assemble $AS $srcdir$subdir/bintest.s tmpdir/bintest.o]} then {
return
}
# Test that objcopy does not modify a file when copying it.
-# Since some versions of the assembler don't use BFD to generate the
-# object file, we shouldn't assume that the version written by BFD will
-# be bit-for-bit identical. It need merely be functionally identical.
-setup_xfail "sh-*-coff"
-
set got [binutils_run $OBJCOPY "$OBJCOPYFLAGS tmpdir/bintest.o tmpdir/copy.o"]
if ![string match "" $got] then {
@@ -49,6 +49,8 @@ if ![string match "" $got] then {
# On some systems the result of objcopy will not be identical.
# Those systems should use setup_xfail here.
+ setup_xfail "sh-*-coff"
+
if [string match "" $exec_output] then {
pass "objcopy (simple copy)"
} else {