Skip to content

Commit e3bbf68

Browse files
committed
test macos
1 parent ffa0356 commit e3bbf68

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ include(CheckCXXCompilerFlag)
1414

1515
string(TOUPPER "${CMAKE_BUILD_TYPE}" U_CMAKE_BUILD_TYPE)
1616

17-
OPTION(JSONCONS_SANITIZE "sanitize" OFF)
17+
OPTION(JSONCONS_SANITIZE "sanitize" ON)
1818
option(JSONCONS_VALGRIND "Execute tests with valgrind" OFF)
1919

2020
if(JSONCONS_VALGRIND)

test/corelib/src/testmain.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
TEST_CASE("configuration")
99
{
10+
//memory test
1011
char* p = new char [10];
1112
p[0] = 0;
1213

0 commit comments

Comments
 (0)