aboutsummaryrefslogtreecommitdiff
path: root/tests/do.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/do.sh')
-rwxr-xr-xtests/do.sh12
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