Refactor all.do and test.do in various directories.

Now 'redo test' runs the tests, but 'redo t' just builds the programs.

Also removed wvtest stuff; we're not really using it properly anyway and
it's not helping our testing right now.  It might come back later.
This commit is contained in:
Avery Pennarun 2010-11-21 05:47:48 -08:00
commit 39ef065443
14 changed files with 20 additions and 335 deletions

1
t/deps/.gitignore vendored
View file

@ -1 +1,2 @@
t1a
t2.count

View file

@ -1 +0,0 @@
redo test1

View file

@ -1 +1 @@
rm -f *~ .*~ t1a
rm -f *~ .*~ *.count t1a

1
t/deps/t2.do Normal file
View file

@ -0,0 +1 @@
echo $$ >>t2.count

2
t/deps/test.do Normal file
View file

@ -0,0 +1,2 @@
redo test1 test2

8
t/deps/test2.do Normal file
View file

@ -0,0 +1,8 @@
rm -f t2.count
redo t2
redo t2
OUT=$(cat t2.count | wc -l)
if [ "$OUT" != 2 ]; then
echo "t2: expected 2"
exit 43
fi