xtensa: gas: convert tests to run_dump_tests
[deliverable/binutils-gdb.git] / gas / testsuite / gas / xtensa / xtensa-err.exp
index 5a2ed680cd89bcbb73da454fcc935e36562b5f95..f2937b847fe4128fbff33abf0389de94589dc222 100644 (file)
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
 
-if { ! [istarget "xtensa*-*-*"] } {
-    return
-}
-
-proc run_xtensa_err_tests { } {
+if [istarget xtensa*-*-*] {
     global srcdir subdir runtests
 
     load_lib gas-dg.exp
@@ -26,5 +22,3 @@ proc run_xtensa_err_tests { } {
     dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/err-*.s]] "" ""
     dg-finish
 }
-
-run_xtensa_err_tests
This page took 0.040966 seconds and 4 git commands to generate.