mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
cmake: fix execution of tests
This commit is contained in:
parent
037bfcb81e
commit
32a4053b72
2 changed files with 12 additions and 10 deletions
|
@ -22,12 +22,13 @@
|
|||
|
||||
add_custom_target(run-integration-tests
|
||||
COMMAND
|
||||
SRCDIR=${PROJECT_SOURCE_DIR}
|
||||
BUILDDIR=${PROJECT_BINARY_DIR}
|
||||
LD_PRELOAD=/usr/lib64/libSegFault.so
|
||||
SEGFAULT_SIGNALS=all
|
||||
SEGFAULT_SIGNALS="bus abrt"
|
||||
${PROJECT_SOURCE_DIR}/tools/integration-tests.sh 2>&1 | c++filt
|
||||
/bin/bash -o pipefail -c \"
|
||||
SRCDIR=${PROJECT_SOURCE_DIR}
|
||||
BUILDDIR=${PROJECT_BINARY_DIR}
|
||||
LD_PRELOAD=/usr/lib64/libSegFault.so
|
||||
SEGFAULT_SIGNALS=all
|
||||
SEGFAULT_SIGNALS='bus abrt'
|
||||
${PROJECT_SOURCE_DIR}/tools/integration-tests.sh 2>&1 | c++filt\"
|
||||
USES_TERMINAL
|
||||
DEPENDS
|
||||
villas-node
|
||||
|
|
|
@ -43,10 +43,11 @@ target_link_libraries(unit-tests PUBLIC
|
|||
|
||||
add_custom_target(run-unit-tests
|
||||
COMMAND
|
||||
LD_PRELOAD=/usr/lib64/libSegFault.so
|
||||
SEGFAULT_SIGNALS=all
|
||||
SEGFAULT_SIGNALS="bus abrt"
|
||||
$<TARGET_FILE:unit-tests>
|
||||
/bin/bash -o pipefail -c \"
|
||||
LD_PRELOAD=/usr/lib64/libSegFault.so
|
||||
SEGFAULT_SIGNALS=all
|
||||
SEGFAULT_SIGNALS="bus abrt"
|
||||
$<TARGET_FILE:unit-tests> 2>&1 | c++filt\"
|
||||
DEPENDS
|
||||
unit-tests
|
||||
USES_TERMINAL
|
||||
|
|
Loading…
Add table
Reference in a new issue