aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2020-05-15 14:25:32 +0100
committerGary Benson <gbenson@redhat.com>2020-05-15 14:25:32 +0100
commit163df4df08aa7b0dda75261c19832c8e66b2059c (patch)
tree6572c140dda197f9218e07f687d7f759b756da28 /gdb
parent6dbc505a74ac6bb930a4b7306e60ea3a439bb886 (diff)
downloadgdb-163df4df08aa7b0dda75261c19832c8e66b2059c.zip
gdb-163df4df08aa7b0dda75261c19832c8e66b2059c.tar.gz
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')
-rw-r--r--gdb/testsuite/ChangeLog8
-rw-r--r--gdb/testsuite/gdb.opencl/callfuncs.exp1
-rw-r--r--gdb/testsuite/gdb.opencl/convs_casts.exp1
-rw-r--r--gdb/testsuite/gdb.opencl/datatypes.exp1
-rw-r--r--gdb/testsuite/gdb.opencl/operators.exp1
-rw-r--r--gdb/testsuite/gdb.opencl/vec_comps.exp1
6 files changed, 13 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 30a150d..3702032 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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 ...
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
}
diff --git a/gdb/testsuite/gdb.opencl/convs_casts.exp b/gdb/testsuite/gdb.opencl/convs_casts.exp
index 60da547..284e24e 100644
--- a/gdb/testsuite/gdb.opencl/convs_casts.exp
+++ b/gdb/testsuite/gdb.opencl/convs_casts.exp
@@ -20,6 +20,7 @@
load_lib opencl.exp
if { [skip_opencl_tests] } {
+ unsupported "OpenCL support not detected"
return 0
}
diff --git a/gdb/testsuite/gdb.opencl/datatypes.exp b/gdb/testsuite/gdb.opencl/datatypes.exp
index df23acb..a874473 100644
--- a/gdb/testsuite/gdb.opencl/datatypes.exp
+++ b/gdb/testsuite/gdb.opencl/datatypes.exp
@@ -20,6 +20,7 @@
load_lib opencl.exp
if { [skip_opencl_tests] } {
+ unsupported "OpenCL support not detected"
return 0
}
diff --git a/gdb/testsuite/gdb.opencl/operators.exp b/gdb/testsuite/gdb.opencl/operators.exp
index 393e58f..af44d86 100644
--- a/gdb/testsuite/gdb.opencl/operators.exp
+++ b/gdb/testsuite/gdb.opencl/operators.exp
@@ -20,6 +20,7 @@
load_lib opencl.exp
if { [skip_opencl_tests] } {
+ unsupported "OpenCL support not detected"
return 0
}
diff --git a/gdb/testsuite/gdb.opencl/vec_comps.exp b/gdb/testsuite/gdb.opencl/vec_comps.exp
index 0c7ac63..67d198e 100644
--- a/gdb/testsuite/gdb.opencl/vec_comps.exp
+++ b/gdb/testsuite/gdb.opencl/vec_comps.exp
@@ -20,6 +20,7 @@
load_lib opencl.exp
if { [skip_opencl_tests] } {
+ unsupported "OpenCL support not detected"
return 0
}