Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Tests now produce *some* output.

It's mainly a confidence thing for me. I don't trust my cobbled-
together tree of scripts enough to really believe it when it says
"All tests passed". So now, all input to the assert() function is
displayed on stderr as well.

Now I trust the results of my tests.
  • Loading branch information...
commit bdeb15edfa791f6c0c1cb2a89eaf6967c1c427d2 1 parent be7cf05
@willdonnelly authored
View
1  Tests/basic/runTest.sh
@@ -8,6 +8,7 @@
# Assert the equality of two strings.
function assert() {
+ echo "$1" >&2
if [ "$1" != "$2" ]; then
echo "Failed test $3";
exit 1;
View
1  Tests/config-check/runTest.sh
@@ -5,6 +5,7 @@
# Assert the equality of two strings.
function assert() {
+ echo "$1" >&2
if [ "$1" != "$2" ]; then
echo "Failed test $3";
exit 1;
View
1  Tests/recompile-relaunch/runTest.sh
@@ -5,6 +5,7 @@
# Assert the equality of two strings.
function assert() {
+ echo "$1" >&2
if [ "$1" != "$2" ]; then
echo "Failed test $3";
exit 1;
Please sign in to comment.
Something went wrong with that request. Please try again.