|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 10/11] mg-execute-flight: Support --progress-fd
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
mg-execute-flight | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/mg-execute-flight b/mg-execute-flight
index bd09df3..5a861b0 100755
--- a/mg-execute-flight
+++ b/mg-execute-flight
@@ -35,6 +35,8 @@ publish=false
badusage () { echo >&2 "bad usage"; usage >&2; exit 126; }
+exec 5>/dev/null
+
while [ $# != 0 ]; do
arg=$1; shift
case "$arg" in
@@ -42,6 +44,8 @@ while [ $# != 0 ]; do
-E?*) email=${arg#-E} ;;
-f?*) basisflightopt=--that-flight=${arg#-f} ;;
-P) publish=true ;;
+ --progress-fd=*)
+ exec 5>&${arg#--progress-fd=} ;;
[0-9]*) if [ "x$flight" != x ]; then badusage; fi
flight=$arg ;;
*) badusage ;;
@@ -72,6 +76,8 @@ mkdir -p tmp
echo "sg-execute-flight $flight $blessing failed: $?") \
>tmp/$flight.transcript 2>&1
+echo >&5 "flight $flight reporting"
+
./sg-report-flight $basisflightopt \
--html-dir=$OSSTEST_HTMLPUB_DIR/$flight/ \
$flight >tmp/$flight.report
@@ -97,6 +103,7 @@ cat <tmp/$flight.transcript
exec >&2
if $publish; then
+ echo >&5 "flight $flight publishing"
./cr-publish-flight-logs $flight >/dev/null
fi
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |