aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-h8300/h8300.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-h8300/h8300.exp')
-rw-r--r--ld/testsuite/ld-h8300/h8300.exp11
1 files changed, 5 insertions, 6 deletions
diff --git a/ld/testsuite/ld-h8300/h8300.exp b/ld/testsuite/ld-h8300/h8300.exp
index 99542f4..af457ab 100644
--- a/ld/testsuite/ld-h8300/h8300.exp
+++ b/ld/testsuite/ld-h8300/h8300.exp
@@ -1,5 +1,5 @@
# Expect script for ld-h8300 tests
-# Copyright 2002 Free Software Foundation, Inc.
+# Copyright 2002, 2003 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -24,9 +24,8 @@ if ![istarget h8300-*-*] {
return
}
-set test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]]
-foreach test $test_list {
- # We need to strip the ".d", but can leave the dirname.
- verbose [file rootname $test]
- run_dump_test [file rootname $test]
+run_dump_test relax
+
+if {[istarget *-elf]} {
+ run_dump_test relax-2
}