Exclude sanitizer on unit tests involving json-c due to a bug in the lib
This commit is contained in:
+12
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user