aboutsummaryrefslogtreecommitdiff
path: root/libctf/testsuite/libctf-writable
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2025-09-03 14:18:35 +0200
committerTom de Vries <tdevries@suse.de>2025-09-03 14:18:35 +0200
commitaebc33d411dcbf876c1fa3b8af02361dd39de183 (patch)
tree264080f7c9fd4b20504d071485f84393a0f914e4 /libctf/testsuite/libctf-writable
parent7a573cfa16b991f66aa9cbd2301952089b1243d4 (diff)
downloadbinutils-aebc33d411dcbf876c1fa3b8af02361dd39de183.zip
binutils-aebc33d411dcbf876c1fa3b8af02361dd39de183.tar.gz
binutils-aebc33d411dcbf876c1fa3b8af02361dd39de183.tar.bz2
[gdb/testsuite] Fix clean_restart in gdb.opencl/callfuncs.exp
In test-case gdb.opencl/callfuncs.exp I noticed: ... clean_restart [standard_testfile $testfile] ... This doesn't have the desired effect of starting gdb with $testfile because standard_testfile doesn't return anything. Fix this by using "clean_restart $testfile". While we're at it: - move standard_testfile to the start of the file - drop the redundant 'set testfile "callfuncs"' - use standard_testfile .cl to properly define $srcfile - use $srcfile instead of $testfile.cl Tested on x86_64-linux, using the demonstrator patch in PR testsuite/33363. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33363
Diffstat (limited to 'libctf/testsuite/libctf-writable')
0 files changed, 0 insertions, 0 deletions