diff --git a/test/legacy_test/CMakeLists.txt b/test/legacy_test/CMakeLists.txt index 85204105a534b..452386f635215 100644 --- a/test/legacy_test/CMakeLists.txt +++ b/test/legacy_test/CMakeLists.txt @@ -18,6 +18,10 @@ if(NOT WITH_COVERAGE) list(REMOVE_ITEM TEST_OPS test_hapi_hub) endif() +if(NOT WITH_GPU) + list(REMOVE_ITEM TEST_OPS test_async_read_write) +endif() + foreach(src ${TEST_OPS}) py_test(${src} SRCS ${src}.py) endforeach()