gdb/testsuite: Add a way to send multiple init commands
[deliverable/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
4b95cf5c 3# Copyright (C) 2009-2014 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
KT
38
39# SEH related tests
40
41# These tests are only for x86_64 targets
42if ([istarget "x86_64-*-mingw*"]) then {
bea2c1d7 43 run_list_test "seh-x64-err-1" ""
47c8d350
KT
44 run_dump_test "peseh-x64"
45 run_dump_test "peseh-x64-2"
46 run_dump_test "peseh-x64-3"
2d7f4929
KT
47 run_dump_test "peseh-x64-4"
48 run_dump_test "peseh-x64-5"
49 run_dump_test "peseh-x64-6"
47c8d350 50}
167ad85b
TG
51
52# Big obj
53
54
55if ([istarget "x86_64-*-mingw*"]) then {
56 # Currently only supported on x86_64
57 run_dump_test "big-obj"
58}
This page took 0.246629 seconds and 4 git commands to generate.