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.
This commit is contained in:
Gary Benson 2020-05-15 14:25:32 +01:00
parent 6dbc505a74
commit 163df4df08
6 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2020-05-15 Gary Benson <gbenson@redhat.com>
* 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.
2020-05-15 Tom de Vries <tdevries@suse.de>
* gdb.base/align.exp.in: Rename to ...

View File

@ -20,6 +20,7 @@
load_lib opencl.exp
if { [skip_opencl_tests] } {
unsupported "OpenCL support not detected"
return 0
}

View File

@ -20,6 +20,7 @@
load_lib opencl.exp
if { [skip_opencl_tests] } {
unsupported "OpenCL support not detected"
return 0
}

View File

@ -20,6 +20,7 @@
load_lib opencl.exp
if { [skip_opencl_tests] } {
unsupported "OpenCL support not detected"
return 0
}

View File

@ -20,6 +20,7 @@
load_lib opencl.exp
if { [skip_opencl_tests] } {
unsupported "OpenCL support not detected"
return 0
}

View File

@ -20,6 +20,7 @@
load_lib opencl.exp
if { [skip_opencl_tests] } {
unsupported "OpenCL support not detected"
return 0
}