Skip to content

Commit d8583b4

Browse files
committed
Do not run cmake inside ctest tests
Signed-off-by: Lukasz Dorau <[email protected]>
1 parent affb448 commit d8583b4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

test/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ if(LINUX
431431
NAME umf_standalone_examples
432432
COMMAND
433433
${UMF_CMAKE_SOURCE_DIR}/test/test_examples.sh
434-
${UMF_CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}
435-
${CMAKE_BINARY_DIR}/install ${EXAMPLES}
434+
${UMF_CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${CMAKE_INSTALL_PREFIX}
435+
${EXAMPLES}
436436
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
437437
endif()

test/test_examples.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ cd ${BUILD_DIR}
4747
echo "DIR=$(pwd)"
4848

4949
set -x
50-
cmake .. -DCMAKE_INSTALL_PREFIX="$INSTALL_DIR"
5150
make -j$(nproc) install
5251
set +x
5352

0 commit comments

Comments
 (0)