diff options
author | Gary Benson <gbenson@redhat.com> | 2020-05-15 14:25:32 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2020-05-15 14:25:32 +0100 |
commit | 163df4df08aa7b0dda75261c19832c8e66b2059c (patch) | |
tree | 6572c140dda197f9218e07f687d7f759b756da28 /gdb/testsuite/gdb.opencl/callfuncs.exp | |
parent | 6dbc505a74ac6bb930a4b7306e60ea3a439bb886 (diff) | |
download | fsf-binutils-gdb-163df4df08aa7b0dda75261c19832c8e66b2059c.zip fsf-binutils-gdb-163df4df08aa7b0dda75261c19832c8e66b2059c.tar.gz fsf-binutils-gdb-163df4df08aa7b0dda75261c19832c8e66b2059c.tar.bz2 |
Don't silently skip tests if OpenCL is unsupported
A number of tests silently exit if OpenCL support is not detected.
This commit fixes.
gdb/testsuite/ChangeLog:
* gdb.opencl/callfuncs.exp: Report when test skipped.
* gdb.opencl/convs_casts.exp: Likewise.
* gdb.opencl/datatypes.exp: Likewise.
* gdb.opencl/operators.exp: Likewise.
* gdb.opencl/vec_comps.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.opencl/callfuncs.exp')
-rw-r--r-- | gdb/testsuite/gdb.opencl/callfuncs.exp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.opencl/callfuncs.exp b/gdb/testsuite/gdb.opencl/callfuncs.exp index 9e77142..cf418d1 100644 --- a/gdb/testsuite/gdb.opencl/callfuncs.exp +++ b/gdb/testsuite/gdb.opencl/callfuncs.exp @@ -20,6 +20,7 @@ load_lib opencl.exp if { [skip_opencl_tests] } { + unsupported "OpenCL support not detected" return 0 } |