summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/wasm32/wasm32.exp
blob: 8a22966136dfdd6a72f385c0a299d30ff73f9a43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Expect script for wasm32 tests.
#   Copyright (C) 2017-2021 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
# 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.

# wasm32 assembler testsuite.

if [istarget wasm32-*-*] {
    run_dump_test "allinsn"
    # no GOT/PLT relocs yet.
    setup_xfail "wasm32-*-*"
    run_dump_test "reloc"
    run_list_test "illegal"
    run_list_test "illegal-2"
    run_list_test "illegal-3"
    run_list_test "illegal-4"
    run_list_test "illegal-5"
    run_list_test "illegal-6"
    run_list_test "illegal-7"
    run_list_test "illegal-8"
    run_list_test "illegal-9"
    run_list_test "illegal-10"
    setup_xfail "wasm32-*-*"
    run_list_test "illegal-11"
    setup_xfail "wasm32-*-*"
    run_list_test "illegal-12"
    setup_xfail "wasm32-*-*"
    run_list_test "illegal-13"
    run_list_test "illegal-14"
    run_list_test "illegal-15"
    run_list_test "illegal-16"
    run_list_test "illegal-17"
    run_list_test "illegal-18"
    run_list_test "illegal-19"
    run_list_test "illegal-20"
    run_list_test "illegal-21"
    run_list_test "illegal-22"
    # illegal-23 has become legal
    run_list_test "illegal-24"
    run_list_test "illegal-25"
    run_dump_test "disass"
    run_dump_test "disass-2"
}