| 1 | # Expect script for wasm32 tests. |
| 2 | # Copyright (C) 2017-2018 Free Software Foundation, Inc. |
| 3 | # |
| 4 | # This file is part of the GNU Binutils. |
| 5 | # |
| 6 | # This program is free software; you can redistribute it and/or modify |
| 7 | # it under the terms of the GNU General Public License as published by |
| 8 | # the Free Software Foundation; either version 3 of the License, or |
| 9 | # (at your option) any later version. |
| 10 | # |
| 11 | # This program is distributed in the hope that it will be useful, |
| 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | # GNU General Public License for more details. |
| 15 | # |
| 16 | # You should have received a copy of the GNU General Public License |
| 17 | # along with this program; if not, write to the Free Software |
| 18 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, |
| 19 | # MA 02110-1301, USA. |
| 20 | |
| 21 | # wasm32 assembler testsuite. |
| 22 | |
| 23 | if [istarget wasm32-*-*] { |
| 24 | run_dump_test "allinsn" |
| 25 | # no GOT/PLT relocs yet. |
| 26 | setup_xfail "wasm32-*-*" |
| 27 | run_dump_test "reloc" |
| 28 | run_list_test "illegal" |
| 29 | run_list_test "illegal-2" |
| 30 | run_list_test "illegal-3" |
| 31 | run_list_test "illegal-4" |
| 32 | run_list_test "illegal-5" |
| 33 | run_list_test "illegal-6" |
| 34 | run_list_test "illegal-7" |
| 35 | run_list_test "illegal-8" |
| 36 | run_list_test "illegal-9" |
| 37 | run_list_test "illegal-10" |
| 38 | setup_xfail "wasm32-*-*" |
| 39 | run_list_test "illegal-11" |
| 40 | setup_xfail "wasm32-*-*" |
| 41 | run_list_test "illegal-12" |
| 42 | setup_xfail "wasm32-*-*" |
| 43 | run_list_test "illegal-13" |
| 44 | run_list_test "illegal-14" |
| 45 | run_list_test "illegal-15" |
| 46 | run_list_test "illegal-16" |
| 47 | run_list_test "illegal-17" |
| 48 | run_list_test "illegal-18" |
| 49 | run_list_test "illegal-19" |
| 50 | run_list_test "illegal-20" |
| 51 | run_list_test "illegal-21" |
| 52 | run_list_test "illegal-22" |
| 53 | # illegal-23 has become legal |
| 54 | run_list_test "illegal-24" |
| 55 | run_list_test "illegal-25" |
| 56 | run_dump_test "disass" |
| 57 | run_dump_test "disass-2" |
| 58 | } |