Finally have regression-wally doing everything!

This commit is contained in:
Rose Thompson 2024-02-07 11:39:05 -06:00
parent 7f3877f076
commit d82ee04533
2 changed files with 5 additions and 13 deletions

View File

@ -295,7 +295,7 @@ if (nightly):
tc = TestCase(
name=t,
variant=config,
cmd=cmdPrefix+" "+t+" configOption "+configOptions+"\n!",
cmd=cmdPrefix+" "+t+" configOptions "+configOptions+"\n!",
grepstr="All tests ran without failures")
configs.append(tc)

View File

@ -21,18 +21,10 @@
onbreak {resume}
# create library
if {$2 eq "configOptions"} {
if [file exists wkdir/work_${1}_${3}_${4}] {
vdel -lib wkdir/work_${1}_${3}_${4} -all
}
vlib wkdir/work_${1}_${3}_${4}
} else {
if [file exists wkdir/work_${1}_${2}] {
vdel -lib wkdir/work_${1}_${2} -all
}
vlib wkdir/work_${1}_${2}
if [file exists wkdir/work_${1}_${2}] {
vdel -lib wkdir/work_${1}_${2} -all
}
vlib wkdir/work_${1}_${2}
# Create directory for coverage data
mkdir -p cov
@ -51,6 +43,7 @@ for {set i 0} true {incr i} {
set arg [expr "$$x"]
lappend lst $arg
}
if {$argc >= 3} {
if {$3 eq "-coverage" || ($argc >= 7 && $7 eq "-coverage")} {
set coverage 1
@ -58,7 +51,6 @@ if {$argc >= 3} {
set configOptions $lst
puts $configOptions
}
}
# compile source files