Fix check for unit tests in scripts
This commit is contained in:
parent
9789159427
commit
e3ef99f1f7
@ -14,7 +14,7 @@ cmake .. $cmake_flags
|
||||
export LD_LIBRARY_PATH=$PWD/log_manager:$PWD/query_classifier
|
||||
make || exit 1
|
||||
|
||||
if [[ "$cmake_flags" =~ "BUILD_TESTS" ]]
|
||||
if [[ "$cmake_flags" =~ "BUILD_TESTS=Y" ]]
|
||||
then
|
||||
# We don't care about memory leaks in the tests (e.g. servers are never freed)
|
||||
export ASAN_OPTIONS=detect_leaks=0
|
||||
|
@ -12,7 +12,7 @@ cd _build
|
||||
cmake .. $cmake_flags
|
||||
make || exit 1
|
||||
|
||||
if [[ "$cmake_flags" =~ "BUILD_TESTS" ]]
|
||||
if [[ "$cmake_flags" =~ "BUILD_TESTS=Y" ]]
|
||||
then
|
||||
# We don't care about memory leaks in the tests (e.g. servers are never freed)
|
||||
export ASAN_OPTIONS=detect_leaks=0
|
||||
|
Loading…
x
Reference in New Issue
Block a user