diff options
author | Alfredo Cardigliano <alfredo.cardigliano@gmail.com> | 2020-09-21 17:59:06 +0200 |
---|---|---|
committer | Alfredo Cardigliano <alfredo.cardigliano@gmail.com> | 2020-09-21 17:59:06 +0200 |
commit | 0259ff58e13d94ee497d07072505c94ee8144a42 (patch) | |
tree | 9642d3c41345bdf37be585aa7f93d5bf39ad19e3 | |
parent | d700ab39944f585138ac68790f33951e2f757a8f (diff) |
Exclude sanitizer on unit tests involving json-c due to a bug in the lib
-rwxr-xr-x | tests/do.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/do.sh b/tests/do.sh index 3598146a5..5ec8384e6 100755 --- a/tests/do.sh +++ b/tests/do.sh @@ -47,6 +47,18 @@ check_results() { } check_unit() { + + case "$CXXFLAGS" in + # Skipping tests with sanitizer enabled due to use-of-uninitialized-value in json-c + *sanitize* ) + echo "Skipping unit tests for this environment" + return + ;; + * ) + echo "Running unit tests.." + ;; + esac + $UNIT UNIT_RC=$? if [ $UNIT_RC -ne 0 ]; then |