diff options
Diffstat (limited to 'tests/do-unit.sh')
-rwxr-xr-x | tests/do-unit.sh | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/tests/do-unit.sh b/tests/do-unit.sh deleted file mode 100755 index 937be26ff..000000000 --- a/tests/do-unit.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -cd "$(dirname "${0}")" - -UNIT="./unit/unit" - -RC=0 - -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 "" - echo "Running unit tests.." - ;; - esac - - $UNIT - UNIT_RC=$? - if [ $UNIT_RC -ne 0 ]; then - RC=1 - fi -} - -check_unit - -exit $RC |