This changes some tests to use "require !skip_opencl_tests".
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]
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]
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]
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]
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]