Add first draft of unit testing runner.
This commit is contained in:
parent
43bed805bd
commit
5a6063590b
16
bin/aux/runtsts.rc
Executable file
16
bin/aux/runtsts.rc
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
#!/usr/bin/env rc
|
||||||
|
|
||||||
|
tstdom='http://test.cat-v.org'
|
||||||
|
|
||||||
|
cd sites/tst.cat-v.org
|
||||||
|
|
||||||
|
tstfiles=`{du -a |awk '/\.tst$/ { print $2 }; {} ' | sed 's/^\.//; s/\.tst$//'}
|
||||||
|
|
||||||
|
for(f in $tstfiles) {
|
||||||
|
ifs='
|
||||||
|
' { tsts=`{cat ./$f.tst} }
|
||||||
|
|
||||||
|
for(t in $tsts) {
|
||||||
|
echo tst $t
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user