Skip to content

Commit fe4312c

Browse files
committed
Fix #1066.
1 parent cd67366 commit fe4312c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ IF ((CMAKE_VERSION VERSION_GREATER 3.1) OR
55
CMAKE_POLICY(SET CMP0054 NEW)
66
ENDIF ()
77

8-
OPTION (MSGPACK_BUILD_TESTS "Build msgpack tests." ON)
8+
OPTION (MSGPACK_BUILD_TESTS "Build msgpack tests." OFF)
99
OPTION (MSGPACK_GEN_COVERAGE "Enable running gcov to get a test coverage report." OFF)
1010

1111
if(MSGPACK_BUILD_TESTS)

ci/build_cmake.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ else
2525
export ARCH_FLAG="-m64"
2626
fi
2727

28-
cmake -DMSGPACK_32BIT=${BIT32} -DBUILD_SHARED_LIBS=${SHARED} -DMSGPACK_CHAR_SIGN=${CHAR_SIGN} -DCMAKE_CXX_FLAGS="${ARCH_FLAG} ${CXXFLAGS} ${SAN}" -DCMAKE_C_FLAGS="${CFLAGS} ${SAN}" ..
28+
cmake -DMSGPACK_BUILD_TESTS=ON -DMSGPACK_32BIT=${BIT32} -DBUILD_SHARED_LIBS=${SHARED} -DMSGPACK_CHAR_SIGN=${CHAR_SIGN} -DCMAKE_CXX_FLAGS="${ARCH_FLAG} ${CXXFLAGS} ${SAN}" -DCMAKE_C_FLAGS="${CFLAGS} ${SAN}" ..
2929

3030
ret=$?
3131
if [ $ret -ne 0 ]
@@ -41,7 +41,7 @@ then
4141
exit $ret
4242
fi
4343

44-
ctest -VV
44+
ctest -VVr
4545

4646
ret=$?
4747
if [ $ret -ne 0 ]

0 commit comments

Comments
 (0)