[CUDA] Just use -E to exclude workgroup test instead of -LE
@@ -57,15 +57,7 @@ EXCLUDE="$EXCLUDE|assigning_a_loop_iterator_variable_to_a_private_makes_it_local
EXCLUDE="$EXCLUDE|LoopVectorizer_crash_with_Haswell_and_Broadwell_-_issue_231$"
EXCLUDE="$EXCLUDE|struct_kernel_arguments$"
EXCLUDE="$EXCLUDE|poclcc$"
-
-# Exclude workgroup tests since they just use basic device
-# Can't use -L and -LE together with older CMake versions
-CTEST_VERSION="`ctest --version | head -n 1`"
-echo $CTEST_VERSION
-echo ${CTEST_VERSION:14:1}
-if [ "${CTEST_VERSION:14:1}" -ge 3 ]; then
- LABEL_EXCLUDE="-LE workgroup"
-fi
+EXCLUDE="$EXCLUDE|^workgroup/"
# TODO: Enable more than just 'internal'
-ctest -L internal $LABEL_EXCLUDE -E "$EXCLUDE" $@
+ctest -L internal -E "$EXCLUDE" $@
