Update to shunit.sh to stop running tests more than once

This commit is contained in:
2013-10-09 22:40:13 -04:00
parent 790f8c5a35
commit 705e105062
2 changed files with 2 additions and 5 deletions

View File

@@ -9,11 +9,7 @@ endif
RPM=shunit-$(VERSION)-$(RELEASE).noarch.rpm
ifndef PREFIX
PREFIX=/
endif
ifeq ($(shell uname -o),Cygwin)
PREFIX=
PREFIX=''
endif
DISTFILE_DEPS=$(shell find . -type f | grep -Ev '\.git|\./dist/|$(DISTFILE)')

View File

@@ -42,6 +42,7 @@ do
${FORMATTER}_testcase "$file" "$key" "$delta" "Exit ${ERRFLAG}" "$SHORTERR" "${ERR}"
fi
fi
unset -f $key
done
unset tests
done