Skip to content

Commit

Permalink
Also check for TEST_DEFINED.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottTodd committed Feb 1, 2024
1 parent 8e16337 commit dd27970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_tools/cmake/iree_check_test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function(iree_check_test)
set(_TEST_DISABLED TRUE)
endif()

if(_TEST_DISABLED AND NOT IREE_BUILD_ALL_CHECK_TEST_MODULES)
if((_TEST_DISABLED OR NOT _TEST_DEFINED) AND NOT IREE_BUILD_ALL_CHECK_TEST_MODULES)
set(_BYTECODE_MODULE_BUILD_ENABLED FALSE)
endif()
# ---------------------------------------------------------------------------
Expand Down

0 comments on commit dd27970

Please sign in to comment.