diff options
Diffstat (limited to 'tests/do-unit.sh.in')
-rwxr-xr-x | tests/do-unit.sh.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/do-unit.sh.in b/tests/do-unit.sh.in new file mode 100755 index 000000000..cefc8a9ca --- /dev/null +++ b/tests/do-unit.sh.in @@ -0,0 +1,20 @@ +#!/bin/sh + +cd "$(dirname "${0}")" + +UNIT="./unit/unit" + +RC=0 + +check_unit() { + + $UNIT + UNIT_RC=$? + if [ $UNIT_RC -ne 0 ]; then + RC=1 + fi +} + +check_unit + +exit $RC |