Add first draft of unit testing runner.
This commit is contained in:
parent
c0425e9b19
commit
700911af68
1 changed files with 16 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue