Skip to content

Commit 63e440a

Browse files
test: Attempt to fix unittests running on jenkins
1 parent c1c0635 commit 63e440a

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ if(tests)
138138
ExternalProject_Add(unittests
139139
PREFIX unittests
140140
SOURCE_DIR ${INCLUDEOS_ROOT}/test
141+
BINARY_DIR unittests
141142
CMAKE_ARGS -DINCLUDEOS_ROOT=${INCLUDEOS_ROOT} -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}
142143
)
143144
#add_subdirectory(test)

test/misc/run_unit_tests/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

33
INCLUDEOS_SRC=${INCLUDEOS_SRC-$HOME/IncludeOS}
4-
cd $INCLUDEOS_SRC/test
5-
4+
pushd $INCLUDEOS_SRC/build/unittests
65
./unittests
6+
popd

0 commit comments

Comments
 (0)