aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cell/bt.exp
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2017-11-26 17:19:57 +0100
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2017-11-26 17:19:57 +0100
commit617cd4bc366e47f92ecee3c3f9850a0fd2e6c6a9 (patch)
tree048286aab148dcbca13c8d4a8c95e1bcf93dc10c /gdb/testsuite/gdb.cell/bt.exp
parent5ffd2cb722440053267d0db52df8bbd278fd6d91 (diff)
downloadgdb-617cd4bc366e47f92ecee3c3f9850a0fd2e6c6a9.zip
gdb-617cd4bc366e47f92ecee3c3f9850a0fd2e6c6a9.tar.gz
gdb-617cd4bc366e47f92ecee3c3f9850a0fd2e6c6a9.tar.bz2
[spu] Fix various test cases
The SPU-specific test cases were not modified to use standard_output_file and therefore all were no longer being executed. Fixing this exposed a few other bugs in spu-info noticed by using a more recent compiler, which are also fixed here. gdb/testsuite/ChangeLog: 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com> * gdb.arch/spu-info.c: Include <unistd.h>. (do_signal_test): Fix broken calls to write. * gdb.arch/spu-info.exp: Use prepare_for_testing. Fix checks for empty mailboxes. Update signal tests for corrected do_signal_test routine. Allow nonzero event status.
Diffstat (limited to 'gdb/testsuite/gdb.cell/bt.exp')
-rw-r--r--gdb/testsuite/gdb.cell/bt.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.cell/bt.exp b/gdb/testsuite/gdb.cell/bt.exp
index 452bae5..b48fe9b 100644
--- a/gdb/testsuite/gdb.cell/bt.exp
+++ b/gdb/testsuite/gdb.cell/bt.exp
@@ -23,13 +23,13 @@ load_lib cell.exp
set testfile "bt"
set ppu_file "bt"
set ppu_src ${srcdir}/${subdir}/${ppu_file}.c
-set ppu_bin ${objdir}/${subdir}/${ppu_file}
+set ppu_bin [standard_output_file ${ppu_file}]
set spu_file "bt-spu"
set spu_src ${srcdir}/${subdir}/${spu_file}.c
-set spu_bin ${objdir}/${subdir}/${spu_file}
+set spu_bin [standard_output_file ${spu_file}]
set spu2_file "bt2-spu"
set spu2_src ${srcdir}/${subdir}/${spu2_file}.c
-set spu2_bin ${objdir}/${subdir}/${spu2_file}
+set spu2_bin [standard_output_file ${spu2_file}]
if {[skip_cell_tests]} {
return 0