diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-01-15 15:11:09 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-01-15 15:11:09 +0000 |
commit | 22fc223eb85a55597e35a0e8acd831ff661d2723 (patch) | |
tree | 08d382440dc9cfe6e5245d4405e3a5d9bf1620e1 /gdb/testsuite/gdb.dwarf2/dw2-restrict.exp | |
parent | cb566e3aa895881045a4bd1fbcb5154637fb9ded (diff) | |
download | gdb-22fc223eb85a55597e35a0e8acd831ff661d2723.zip gdb-22fc223eb85a55597e35a0e8acd831ff661d2723.tar.gz gdb-22fc223eb85a55597e35a0e8acd831ff661d2723.tar.bz2 |
gdb/testsuite/
* gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dw2-restrict.exp')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-restrict.exp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-restrict.exp b/gdb/testsuite/gdb.dwarf2/dw2-restrict.exp index e6f3fe8..fe8683e 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-restrict.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-restrict.exp @@ -20,6 +20,11 @@ if {![dwarf2_support]} { return 0 } +# This test can only be run on x86-64 targets. +if {![istarget x86_64-*] || ![is_lp64_target]} { + return 0 +} + standard_testfile .S if {[prepare_for_testing $testfile.exp $testfile $srcfile {nodebug}]} { |