Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mikir committed Apr 22, 2024
1 parent 6d9b43f commit dd0887a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ endfunction()

# A function to add zserio extra arguments for zserio compilation called from each subtest.
function(test_generate_cpp)
message(STATUS "PARAMETERS = ${ARGN}")
set(ZSERIO_GENERATE_ARGUMENTS ${ARGN})
set(ZSERIO_EXTRA_ARGS "$ENV{ZSERIO_EXTRA_ARGS}")
if (NOT ${ZSERIO_EXTRA_ARGS} STREQUAL "")
Expand All @@ -141,7 +140,6 @@ function(test_generate_cpp)
endif()

zserio_generate_cpp(${ZSERIO_GENERATE_ARGUMENTS})
message(STATUS "ZSERIO_GENERATE_ARGUMENTS = ${ZSERIO_GENERATE_ARGUMENTS}")
endfunction()

# add all test suites (filter out utils and data subdirectories)
Expand Down
2 changes: 1 addition & 1 deletion test/arguments/allow_implicit_arrays/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ test_generate_cpp(
TARGET allow_implicit_arrays_zs
SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/zs
GEN_DIR ${CMAKE_CURRENT_BINARY_DIR}/gen
# EXTRA_ARGS -withoutSourcesAmalgamation -allowImplicitArrays
EXTRA_ARGS -withoutSourcesAmalgamation -allowImplicitArrays
GENERATED_SOURCES_VAR GENERATED_SOURCES
OUTPUT_VAR ZSERIO_LOG
ERROR_VAR ZSERIO_LOG
Expand Down

0 comments on commit dd0887a

Please sign in to comment.