Skip to content

Commit

Permalink
Skip c tests if env var is present
Browse files Browse the repository at this point in the history
  • Loading branch information
rymurr committed Jan 9, 2025
1 parent d0b5597 commit d89a547
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ add_library(${EXTENSION_NAME} STATIC ${EXTENSION_SOURCES})

set(PARAMETERS "-warnings")
build_loadable_extension(${TARGET_NAME} ${PARAMETERS} ${EXTENSION_SOURCES})
add_subdirectory("test/c")
IF (NOT ${SKIP_SUBSTRAIT_C_TESTS})
add_subdirectory("test/c")
ENDIF()

install(
TARGETS ${EXTENSION_NAME}
Expand Down

0 comments on commit d89a547

Please sign in to comment.