From 93e8bda61999ccc156216983710f4d372fd94500 Mon Sep 17 00:00:00 2001 From: Jacob Wujciak-Jens Date: Wed, 23 Oct 2024 19:55:45 +0200 Subject: [PATCH] label and exclude test using cuda driver --- .github/workflows/linux-build.yml | 2 +- velox/experimental/wave/common/tests/CMakeLists.txt | 1 + velox/experimental/wave/dwio/decode/tests/CMakeLists.txt | 1 + velox/experimental/wave/vector/tests/CMakeLists.txt | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml index 1ca5cce9c7ecf..653c82bd1614b 100644 --- a/.github/workflows/linux-build.yml +++ b/.github/workflows/linux-build.yml @@ -134,7 +134,7 @@ jobs: LIBHDFS3_CONF: "${{ github.workspace }}/scripts/hdfs-client.xml" working-directory: _build/release run: | - ctest -j 8 --output-on-failure --no-tests=error + ctest -j 8 --label-exclude cuda_driver --output-on-failure --no-tests=error ubuntu-debug: runs-on: 8-core-ubuntu diff --git a/velox/experimental/wave/common/tests/CMakeLists.txt b/velox/experimental/wave/common/tests/CMakeLists.txt index 0ad6951f665fe..22507b09db9fd 100644 --- a/velox/experimental/wave/common/tests/CMakeLists.txt +++ b/velox/experimental/wave/common/tests/CMakeLists.txt @@ -24,6 +24,7 @@ add_executable( HashTestUtil.cpp) add_test(velox_wave_common_test velox_wave_common_test) +set_tests_properties(velox_wave_common_test PROPERTIES LABELS cuda_driver) target_link_libraries( velox_wave_common_test diff --git a/velox/experimental/wave/dwio/decode/tests/CMakeLists.txt b/velox/experimental/wave/dwio/decode/tests/CMakeLists.txt index 79b0201c584f5..66d35ec05a696 100644 --- a/velox/experimental/wave/dwio/decode/tests/CMakeLists.txt +++ b/velox/experimental/wave/dwio/decode/tests/CMakeLists.txt @@ -15,6 +15,7 @@ add_executable(velox_wave_decode_test GpuDecoderTest.cu) add_test(velox_wave_decode_test velox_wave_decode_test) +set_tests_properties(velox_wave_decode_test PROPERTIES LABELS cuda_driver) target_link_libraries( velox_wave_decode_test diff --git a/velox/experimental/wave/vector/tests/CMakeLists.txt b/velox/experimental/wave/vector/tests/CMakeLists.txt index 1b12f8ad56ba1..c6d94713a930b 100644 --- a/velox/experimental/wave/vector/tests/CMakeLists.txt +++ b/velox/experimental/wave/vector/tests/CMakeLists.txt @@ -14,7 +14,7 @@ add_executable(velox_wave_vector_test VectorTest.cpp) -add_test(veloxwave__vector_test velox_wave_vector_test) +add_test(veloxwave_vector_test velox_wave_vector_test) target_link_libraries( velox_wave_vector_test