]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/testsuite/gas/mt/errors.exp
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / mt / errors.exp
index dd47d437ce12f2a250e191697a3cdb5564dc516a..17af4d0a92077339477802ffeff1cc242f61eb61 100644 (file)
@@ -1,3 +1,19 @@
+# Copyright (C) 2012-2020 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  
+
 # Test for error messages when a bad register name, an out of range operand, or 
 # invalid syntax is used.  Adapted from Ben Elliston's load-hazard testcase.
 
@@ -27,8 +43,8 @@ proc mrisc1_error_test { file testname {warnpattern ""} } {
     }
 }
 
-if [istarget ms1-*-*] {
-    foreach file [glob -nocomplain -- $srcdir/$subdir/bad*.s] {
+if [istarget mt-*-*] {
+    foreach file [lsort [glob -nocomplain -- $srcdir/$subdir/bad*.s]] {
        set file [file tail $file]
        switch -- $file {
            "badreg.s" {