# 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
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/err-*.s]] "" ""
dg-finish
}
-
-run_xtensa_err_tests