~samiam/MaraDNS

ad7732b1db50bdd1f9e20de96d30fce5ca2ea70a — Sam Trenholme a month ago ce6070d
coLunacyDNS sqa: More quiet output; 7 tries on amazon test
M deadwood-github/tools/coLunacyDNS/sqa/do.tests => deadwood-github/tools/coLunacyDNS/sqa/do.tests +6 -6
@@ 75,7 75,7 @@ FAIL=""
for test in $TESTS ; do
	echo Test $test
	cd $test
	if ! ./do.test ; then
	if ! ./do.test > /dev/null 2>&1 ; then
		FAIL=${FAIL}${test}" "
		if [ ! -z "$DoStop" ] ; then
			echo Stopping tests because of test failure


@@ 83,12 83,12 @@ for test in $TESTS ; do
		fi
	fi
	cd "$HERE"
	cd ..
	rm -f coLunacyDNS.c.gcov
	echo This is coverage for all tests done so far:
	gcov coLunacyDNS.c
	cd "$HERE"
done
cd ..
rm -f coLunacyDNS.c.gcov
echo Test coverage results:
gcov coLunacyDNS.c
cd "$HERE"
if [ -z "$FAIL" ] ; then
	cd "$HERE"
	echo All tests successful

M deadwood-github/tools/coLunacyDNS/sqa/sqa_amazon/do.test => deadwood-github/tools/coLunacyDNS/sqa/sqa_amazon/do.test +10 -0
@@ 90,6 90,16 @@ if ! cmp output.success output.test > /dev/null 2>&1 ; then
fi

if ! cmp output.success output.test > /dev/null 2>&1 ; then
	echo Amazon test failed trying again \#6
	do_test
fi

if ! cmp output.success output.test > /dev/null 2>&1 ; then
	echo Amazon test failed trying again \#7
	do_test
fi

if ! cmp output.success output.test > /dev/null 2>&1 ; then
        echo Amazon Test failed
        exit 255
fi