Skip to content

Commit

Permalink
chore: 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 10, 2025
1 parent d0b5597 commit 69483dc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@ add_library(${EXTENSION_NAME} STATIC ${EXTENSION_SOURCES})

set(PARAMETERS "-warnings")
build_loadable_extension(${TARGET_NAME} ${PARAMETERS} ${EXTENSION_SOURCES})
add_subdirectory("test/c")
IF (DEFINED ENV{SKIP_SUBSTRAIT_C_TESTS})
message(STATUS "Skipping substrait c tests")
ELSE()
add_subdirectory("test/c")
ENDIF()

install(
TARGETS ${EXTENSION_NAME}
Expand Down

0 comments on commit 69483dc

Please sign in to comment.