diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2017-11-26 17:19:57 +0100 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2017-11-26 17:19:57 +0100 |
commit | 617cd4bc366e47f92ecee3c3f9850a0fd2e6c6a9 (patch) | |
tree | 048286aab148dcbca13c8d4a8c95e1bcf93dc10c /gdb/testsuite/gdb.cell/mem-access.exp | |
parent | 5ffd2cb722440053267d0db52df8bbd278fd6d91 (diff) | |
download | binutils-gdb-617cd4bc366e47f92ecee3c3f9850a0fd2e6c6a9.tar.gz |
[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.exp | 4 |
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 c50e4987dbc..f9f8f5dcced 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 |