diff --git a/TrainingExtensions/common/test/CMakeLists.txt b/TrainingExtensions/common/test/CMakeLists.txt index 9b8aeb1bb3d..77d4be320dc 100644 --- a/TrainingExtensions/common/test/CMakeLists.txt +++ b/TrainingExtensions/common/test/CMakeLists.txt @@ -37,7 +37,7 @@ add_test(CommonTrainingExtensionTest ${Python3_EXECUTABLE} -m pytest ${CMAKE_CURRENT_SOURCE_DIR} --junitxml=${CMAKE_CURRENT_BINARY_DIR}/py_test_output.xml ) -if(DEFINED ENV{FAST_RELEASE}) +if(NOT DEFINED ENV{FAST_RELEASE}) # When building PyPI wheel packages (aka FAST_RELEASE), # we only want to test the pure wheel package without relying on any other build artifacts set_property(TEST CommonTrainingExtensionTest