]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/testsuite/gas/pe/pe.exp
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / pe / pe.exp
CommitLineData
c1711530
DK
1# Expect control script for GAS testsuite PE object-format-specific tests.
2
250d07de 3# Copyright (C) 2009-2021 Free Software Foundation, Inc.
c1711530
DK
4
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 3 of the License, or
8# (at your option) any later version.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, write to the Free Software
17# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
18
19# Please email any bugs, comments, and/or additions to this file to:
20# binutils@gnu.org
21
22load_lib gas-dg.exp
23load_lib gas-defs.exp
24
25# These tests can only be run on PE/COFF platforms.
26if {![is_pecoff_format]} {
27 return
28}
29
30run_dump_test "aligncomm-a"
31run_dump_test "aligncomm-b"
32run_dump_test "aligncomm-c"
33run_dump_test "aligncomm-d"
31907d5e
DK
34
35run_dump_test "section-align-1"
36run_dump_test "section-align-3"
c3489828 37run_dump_test "section-exclude"
47c8d350 38
76bd66cf
AM
39run_dump_test "set"
40
47c8d350
KT
41# SEH related tests
42
43# These tests are only for x86_64 targets
44if ([istarget "x86_64-*-mingw*"]) then {
bea2c1d7 45 run_list_test "seh-x64-err-1" ""
804a4093 46 run_list_test "seh-x64-err-2" ""
47c8d350
KT
47 run_dump_test "peseh-x64"
48 run_dump_test "peseh-x64-2"
49 run_dump_test "peseh-x64-3"
2d7f4929
KT
50 run_dump_test "peseh-x64-4"
51 run_dump_test "peseh-x64-5"
52 run_dump_test "peseh-x64-6"
47c8d350 53}
167ad85b
TG
54
55# Big obj
56
57
251dae91 58if ([istarget "*-*-mingw*"]) then {
167ad85b
TG
59 run_dump_test "big-obj"
60}