Update to shunit.sh to stop running tests more than once
This commit is contained in:
6
Makefile
6
Makefile
@@ -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)')
|
||||
|
||||
@@ -42,6 +42,7 @@ do
|
||||
${FORMATTER}_testcase "$file" "$key" "$delta" "Exit ${ERRFLAG}" "$SHORTERR" "${ERR}"
|
||||
fi
|
||||
fi
|
||||
unset -f $key
|
||||
done
|
||||
unset tests
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user