aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cell/mem-access.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/mem-access.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/mem-access.exp')
-rw-r--r--gdb/testsuite/gdb.cell/mem-access.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.cell/mem-access.exp b/gdb/testsuite/gdb.cell/mem-access.exp
index c50e498..f9f8f5d 100644
--- a/gdb/testsuite/gdb.cell/mem-access.exp
+++ b/gdb/testsuite/gdb.cell/mem-access.exp
@@ -23,10 +23,10 @@ load_lib cell.exp
set ppu_file "mem-access"
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 "mem-access-spu"
set spu_src ${srcdir}/${subdir}/${spu_file}.c
-set spu_bin ${objdir}/${subdir}/${spu_file}
+set spu_bin [standard_output_file ${spu_file}]
if {[skip_cell_tests]} {
return 0