diff options
author | Tom Tromey <tom@tromey.com> | 2022-12-15 16:45:27 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-01-13 13:18:56 -0700 |
commit | 465ee8475ef28147460fbe241c3b1dcd82d75fc4 (patch) | |
tree | f119f0f0f7f8cf55e9b5e1fbdef50c4f13aea656 /gdb/testsuite/gdb.opencl | |
parent | 9322b96f809a11600ff89a7f808fb0bac6ae2334 (diff) | |
download | fsf-binutils-gdb-465ee8475ef28147460fbe241c3b1dcd82d75fc4.zip fsf-binutils-gdb-465ee8475ef28147460fbe241c3b1dcd82d75fc4.tar.gz fsf-binutils-gdb-465ee8475ef28147460fbe241c3b1dcd82d75fc4.tar.bz2 |
Use require !skip_opencl_tests
This changes some tests to use "require !skip_opencl_tests".
Diffstat (limited to 'gdb/testsuite/gdb.opencl')
-rw-r--r-- | gdb/testsuite/gdb.opencl/callfuncs.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.opencl/convs_casts.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.opencl/datatypes.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.opencl/operators.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.opencl/vec_comps.exp | 5 |
5 files changed, 5 insertions, 20 deletions
diff --git a/gdb/testsuite/gdb.opencl/callfuncs.exp b/gdb/testsuite/gdb.opencl/callfuncs.exp index f5bd28f..98b34ab 100644 --- a/gdb/testsuite/gdb.opencl/callfuncs.exp +++ b/gdb/testsuite/gdb.opencl/callfuncs.exp @@ -19,10 +19,7 @@ load_lib opencl.exp -if { [skip_opencl_tests] } { - unsupported "OpenCL support not detected" - return 0 -} +require !skip_opencl_tests set testfile "callfuncs" set clprogram [remote_download target ${srcdir}/${subdir}/${testfile}.cl] diff --git a/gdb/testsuite/gdb.opencl/convs_casts.exp b/gdb/testsuite/gdb.opencl/convs_casts.exp index adfc298..9764d75 100644 --- a/gdb/testsuite/gdb.opencl/convs_casts.exp +++ b/gdb/testsuite/gdb.opencl/convs_casts.exp @@ -19,10 +19,7 @@ load_lib opencl.exp -if { [skip_opencl_tests] } { - unsupported "OpenCL support not detected" - return 0 -} +require !skip_opencl_tests set testfile "convs_casts" set clprogram [remote_download target ${srcdir}/${subdir}/${testfile}.cl] diff --git a/gdb/testsuite/gdb.opencl/datatypes.exp b/gdb/testsuite/gdb.opencl/datatypes.exp index 0755853..69d07e7 100644 --- a/gdb/testsuite/gdb.opencl/datatypes.exp +++ b/gdb/testsuite/gdb.opencl/datatypes.exp @@ -19,10 +19,7 @@ load_lib opencl.exp -if { [skip_opencl_tests] } { - unsupported "OpenCL support not detected" - return 0 -} +require !skip_opencl_tests set testfile "datatypes" set clprogram [remote_download target ${srcdir}/${subdir}/${testfile}.cl] diff --git a/gdb/testsuite/gdb.opencl/operators.exp b/gdb/testsuite/gdb.opencl/operators.exp index fd1bf87..31a7ee8 100644 --- a/gdb/testsuite/gdb.opencl/operators.exp +++ b/gdb/testsuite/gdb.opencl/operators.exp @@ -19,10 +19,7 @@ load_lib opencl.exp -if { [skip_opencl_tests] } { - unsupported "OpenCL support not detected" - return 0 -} +require !skip_opencl_tests set testfile "operators" set clprogram [remote_download target ${srcdir}/${subdir}/${testfile}.cl] diff --git a/gdb/testsuite/gdb.opencl/vec_comps.exp b/gdb/testsuite/gdb.opencl/vec_comps.exp index 7eb2e8f..1ea2bd9 100644 --- a/gdb/testsuite/gdb.opencl/vec_comps.exp +++ b/gdb/testsuite/gdb.opencl/vec_comps.exp @@ -19,10 +19,7 @@ load_lib opencl.exp -if { [skip_opencl_tests] } { - unsupported "OpenCL support not detected" - return 0 -} +require !skip_opencl_tests set testfile "vec_comps" set clprogram [remote_download target ${srcdir}/${subdir}/${testfile}.cl] |