]> xenbits.xensource.com Git - people/iwj/osstest.git/commitdiff
sg-report-flight: provide --html-dir arg to sg-report-flight
authorIan Jackson <iwj@woking.cam.xci-test.com>
Tue, 10 Sep 2013 16:06:39 +0000 (17:06 +0100)
committerIan Jackson <iwj@woking.cam.xci-test.com>
Tue, 10 Sep 2013 16:06:39 +0000 (17:06 +0100)
mg-execute-flight

index 9a72003c4615d91a592dfc5f916d91b1d0ae46bf..abb68c09d125db5043c97076e3f2753837e8ec59 100755 (executable)
@@ -58,11 +58,15 @@ export OSSTEST_RESOURCE_PRIORITY=${OSSTEST_RESOURCE_PRIORITY--8}
 export OSSTEST_RESOURCE_PREINFO="[adhoc $blessing]\
  <${PWD##*/}${branch:+ }$branch${tty:+ }$tty>"
 
+ : ${OSSTEST_HTMLPUB_DIR:=`getconfig Logs`}
+
 (./sg-execute-flight $flight $blessing ||
  echo "sg-execute-flight $flight $blessing failed: $?") \
  >tmp/$flight.transcript 2>&1
 
-./sg-report-flight $basisflightopt $flight >tmp/$flight.report
+./sg-report-flight $basisflightopt \
+       --html-dir=$OSSTEST_HTMLPUB_DIR/$flight/ \
+       $flight >tmp/$flight.report
 
 subject=`sed -n 1p <tmp/$flight.report`