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:
parent
27407f8f8e
commit
39ef065443
14 changed files with 20 additions and 335 deletions
1
t/deps/.gitignore
vendored
1
t/deps/.gitignore
vendored
|
|
@ -1 +1,2 @@
|
|||
t1a
|
||||
t2.count
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
redo test1
|
||||
|
|
@ -1 +1 @@
|
|||
rm -f *~ .*~ t1a
|
||||
rm -f *~ .*~ *.count t1a
|
||||
|
|
|
|||
1
t/deps/t2.do
Normal file
1
t/deps/t2.do
Normal file
|
|
@ -0,0 +1 @@
|
|||
echo $$ >>t2.count
|
||||
2
t/deps/test.do
Normal file
2
t/deps/test.do
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
redo test1 test2
|
||||
|
||||
8
t/deps/test2.do
Normal file
8
t/deps/test2.do
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue