Exclude sanitizer on unit tests involving json-c due to a bug in the lib

This commit is contained in:
Alfredo Cardigliano
2020-09-21 17:59:06 +02:00
parent d700ab3994
commit 0259ff58e1
+12
View File
@@ -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