Skip to content

Commit b49dd73

Browse files
committed
Fix test env and paths for roundtrip tests
1 parent ad9a926 commit b49dd73

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cmake/podioTest.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ function(PODIO_SET_TEST_ENV test)
1212
IO_HANDLERS=${IO_HANDLERS}
1313
PODIO_USE_CLANG_FORMAT=${PODIO_USE_CLANG_FORMAT}
1414
PODIO_BASE=${PROJECT_SOURCE_DIR}
15+
PODIO_BUILD_BASE=${PROJECT_BINARY_DIR}
1516
ENABLE_SIO=${ENABLE_SIO}
1617
PODIO_BUILD_BASE=${PROJECT_BINARY_DIR}
1718
LSAN_OPTIONS=suppressions=${PROJECT_SOURCE_DIR}/tests/root_io/leak_sanitizer_suppressions.txt

tests/scripts/dumpModelRoundTrip.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ OUTPUT_FOLDER=${INPUT_FILE}.dumped_${EDM_NAME}
2121
mkdir -p ${OUTPUT_FOLDER}
2222

2323
# Dump the model to a yaml file
24-
${PODIO_BASE}/tools/podio-dump --dump-edm ${EDM_NAME} ${INPUT_FILE} > ${DUMPED_MODEL}
24+
${PODIO_BUILD_BASE}/tools/podio-dump --dump-edm ${EDM_NAME} ${INPUT_FILE} > ${DUMPED_MODEL}
2525

2626
# Regenerate the code via the class generator and the freshly dumped model
2727
${PODIO_BASE}/python/podio_class_generator.py \

0 commit comments

Comments
 (0)