test/runner index location correction
parent
de627c9822
commit
91c10bca41
|
@ -19,7 +19,7 @@
|
||||||
cd "$( dirname "$0" )"
|
cd "$( dirname "$0" )"
|
||||||
|
|
||||||
outdir=xspec
|
outdir=xspec
|
||||||
index="$outdir/index.html"
|
index="index.html"
|
||||||
|
|
||||||
htmlindex()
|
htmlindex()
|
||||||
{
|
{
|
||||||
|
@ -45,7 +45,9 @@ while read spec; do
|
||||||
../tools/xspec/bin/xspec.sh "$spec" \
|
../tools/xspec/bin/xspec.sh "$spec" \
|
||||||
|| status=1
|
|| status=1
|
||||||
|
|
||||||
result="$( basename "$spec" .xspec )-result.html"
|
spec_path="$( dirname "$spec" )/xspec"
|
||||||
|
result="$spec_path/$( basename "$spec" .xspec )-result.html"
|
||||||
|
|
||||||
printf ' <li><a href="%s">%s</a></li>' "$result" "$spec" \
|
printf ' <li><a href="%s">%s</a></li>' "$result" "$spec" \
|
||||||
| htmlindex
|
| htmlindex
|
||||||
done < <( find . -name '*.xspec' )
|
done < <( find . -name '*.xspec' )
|
||||||
|
|
Loading…
Reference in New Issue