ld/testsuite/

* ld-scripts/script.exp: Sort all filename globs.

gas/testsuite/

	* gas/iq2000/load-hazards.exp: Sort all filename globs.
	* gas/iq2000/yield.exp: Likewise.
	* gas/mt/errors.exp: Likewise.
This commit is contained in:
Thomas Schwinge 2010-10-28 09:10:08 +00:00
parent 24b01a7495
commit 4287f8de97
6 changed files with 15 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2010-10-28 Thomas Schwinge <thomas@schwinge.name>
* gas/iq2000/load-hazards.exp: Sort all filename globs.
* gas/iq2000/yield.exp: Likewise.
* gas/mt/errors.exp: Likewise.
2010-10-28 Alan Modra <amodra@gmail.com> 2010-10-28 Alan Modra <amodra@gmail.com>
* gas/elf/elf.exp (groupautob): Don't run on xtensa. * gas/elf/elf.exp (groupautob): Don't run on xtensa.

View File

@ -29,7 +29,7 @@ proc iq2000_warning_test { file testname {warnpattern ""} } {
} }
if [istarget iq2000*-*-*] { if [istarget iq2000*-*-*] {
foreach file [glob -nocomplain -- $srcdir/$subdir/hazard*.s] { foreach file [lsort [glob -nocomplain -- $srcdir/$subdir/hazard*.s]] {
set file [file tail $file] set file [file tail $file]
switch -- $file { switch -- $file {
"hazard0.s" { "hazard0.s" {

View File

@ -28,7 +28,7 @@ proc iq2000_error_test { file testname {pattern ""} } {
} }
if [istarget iq2000*-*-*] { if [istarget iq2000*-*-*] {
foreach file [glob -nocomplain -- $srcdir/$subdir/yield*.s] { foreach file [lsort [glob -nocomplain -- $srcdir/$subdir/yield*.s]] {
set file [file tail $file] set file [file tail $file]
iq2000_error_test $file \ iq2000_error_test $file \
"assembler emits yield instruction in delay slot error for $file" \ "assembler emits yield instruction in delay slot error for $file" \

View File

@ -28,7 +28,7 @@ proc mrisc1_error_test { file testname {warnpattern ""} } {
} }
if [istarget mt-*-*] { if [istarget mt-*-*] {
foreach file [glob -nocomplain -- $srcdir/$subdir/bad*.s] { foreach file [lsort [glob -nocomplain -- $srcdir/$subdir/bad*.s]] {
set file [file tail $file] set file [file tail $file]
switch -- $file { switch -- $file {
"badreg.s" { "badreg.s" {

View File

@ -1,3 +1,7 @@
2010-10-28 Thomas Schwinge <thomas@schwinge.name>
* ld-scripts/script.exp: Sort all filename globs.
2010-10-28 Alan Modra <amodra@gmail.com> 2010-10-28 Alan Modra <amodra@gmail.com>
* ld-plugin/plugin.exp (libs): Remove $LIBS. * ld-plugin/plugin.exp (libs): Remove $LIBS.

View File

@ -1,6 +1,6 @@
# Test basic linker script functionality # Test basic linker script functionality
# By Ian Lance Taylor, Cygnus Support # By Ian Lance Taylor, Cygnus Support
# Copyright 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2009 # Copyright 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2009, 2010
# Free Software Foundation, Inc. # Free Software Foundation, Inc.
# #
# This file is part of the GNU Binutils. # This file is part of the GNU Binutils.
@ -127,7 +127,7 @@ if ![ld_simple_link $ld tmpdir/script "$flags -T $srcdir/$subdir/memory.t tmpdir
check_script check_script
} }
set test_script_list [glob $srcdir/$subdir/region-alias-*.t] set test_script_list [lsort [glob $srcdir/$subdir/region-alias-*.t]]
foreach test_script $test_script_list { foreach test_script $test_script_list {
if ![ld_simple_link $ld tmpdir/script "$flags -T $test_script tmpdir/script.o"] { if ![ld_simple_link $ld tmpdir/script "$flags -T $test_script tmpdir/script.o"] {