diff options
author | Pedro Alves <palves@redhat.com> | 2010-03-12 19:17:01 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2010-03-12 19:17:01 +0000 |
commit | 759f0f0b7b0ca3e620e3dea8e69979739fb9536f (patch) | |
tree | 844ee111811bb3b7ce0dd7d9b3e4a5f3a4b06f8b /gdb/testsuite/gdb.cp | |
parent | c942923237c7ae29a0d1766383cb747b2a34b7ad (diff) | |
download | gdb-759f0f0b7b0ca3e620e3dea8e69979739fb9536f.zip gdb-759f0f0b7b0ca3e620e3dea8e69979739fb9536f.tar.gz gdb-759f0f0b7b0ca3e620e3dea8e69979739fb9536f.tar.bz2 |
gdb/testsuite/
* lib/gdb.exp (skip_stl_tests): New.
(gdb_compile): Symbian needs -ldl.
(shlib_target_file): New.
(shlib_symbol_file): New.
(gdb_load_shlibs): Use shlib_target_file.
* lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
* gdb.cp/exception.exp: Use skip_stl_tests.
* gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
* gdb.cp/try_catch.exp: Use skip_stl_tests.
* gdb.cp/mb-templates.exp: Ditto.
* gdb.base/commands.exp: Relax regexes.
* gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
shlib_target_file and shlib_symbol_file.
* gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
sections.
* gdb.base/ending-run.exp: Accept E32Main for symbian.
* gdb.base/solib-disc.exp: Use
shlib_target_file and shlib_symbol_file.
* gdb.base/unload.exp: Don't skip on symbian. Use
shlib_target_file and shlib_symbol_file.
* gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
Diffstat (limited to 'gdb/testsuite/gdb.cp')
-rw-r--r-- | gdb/testsuite/gdb.cp/bs15503.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/exception.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/mb-templates.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/try_catch.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.cp/userdef.exp | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.cp/bs15503.exp b/gdb/testsuite/gdb.cp/bs15503.exp index df86acd..bdd4dd5 100644 --- a/gdb/testsuite/gdb.cp/bs15503.exp +++ b/gdb/testsuite/gdb.cp/bs15503.exp @@ -22,7 +22,7 @@ if $tracelevel { strace $tracelevel } -if { [skip_cplus_tests] } { continue } +if { [skip_stl_tests] } { continue } # On SPU this test fails because the executable exceeds local storage size. if { [istarget "spu*-*-*"] } { @@ -38,7 +38,7 @@ if [get_compiler_info ${binfile}] { } if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable "debug c++"] != "" } { - perror "Couldn't compile ${srcfile}" + untested bs15503.exp return -1 } diff --git a/gdb/testsuite/gdb.cp/exception.exp b/gdb/testsuite/gdb.cp/exception.exp index 03c8847..e065877 100644 --- a/gdb/testsuite/gdb.cp/exception.exp +++ b/gdb/testsuite/gdb.cp/exception.exp @@ -38,7 +38,7 @@ if $tracelevel then { strace $tracelevel } -if { [skip_cplus_tests] } { continue } +if { [skip_stl_tests] } { continue } # On SPU this test fails because the executable exceeds local storage size. if { [istarget "spu*-*-*"] } { diff --git a/gdb/testsuite/gdb.cp/mb-templates.exp b/gdb/testsuite/gdb.cp/mb-templates.exp index 1a56e3b..ed44433 100644 --- a/gdb/testsuite/gdb.cp/mb-templates.exp +++ b/gdb/testsuite/gdb.cp/mb-templates.exp @@ -20,7 +20,7 @@ if $tracelevel then { strace $tracelevel } -if { [skip_cplus_tests] } { continue } +if { [skip_stl_tests] } { continue } # On SPU this test fails because the executable exceeds local storage size. if { [istarget "spu*-*-*"] } { diff --git a/gdb/testsuite/gdb.cp/try_catch.exp b/gdb/testsuite/gdb.cp/try_catch.exp index 35ecfe8..86cb7b1 100644 --- a/gdb/testsuite/gdb.cp/try_catch.exp +++ b/gdb/testsuite/gdb.cp/try_catch.exp @@ -22,7 +22,7 @@ if $tracelevel then { strace $tracelevel } -if { [skip_cplus_tests] } { continue } +if { [skip_stl_tests] } { continue } # # test running programs diff --git a/gdb/testsuite/gdb.cp/userdef.exp b/gdb/testsuite/gdb.cp/userdef.exp index 2bbf95e..5e47d90 100644 --- a/gdb/testsuite/gdb.cp/userdef.exp +++ b/gdb/testsuite/gdb.cp/userdef.exp @@ -24,7 +24,7 @@ if $tracelevel then { strace $tracelevel } -if { [skip_cplus_tests] } { continue } +if { [skip_stl_tests] } { continue } # On SPU this test fails because the executable exceeds local storage size. if { [istarget "spu*-*-*"] } { |