[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 07/11] mg-repro-setup: skip log capture (by default)



Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 mg-repro-setup | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/mg-repro-setup b/mg-repro-setup
index bb429b4..af679d0 100755
--- a/mg-repro-setup
+++ b/mg-repro-setup
@@ -34,6 +34,7 @@ usage () { cat <<END
  OPTIONs
    -t<duration>         estimated duration (default = 28d)
    --rogue              bypass queuing system and allocate now
+   --capture            do not suppress log capture
    -r<var>=<value>      set runvar
    -r!<var>             delete runvar
    -B<blessing>                default is 'play'
@@ -54,6 +55,7 @@ allocs=()
 logfile=tmp/mg-repro-setup.log
 duration=28d
 blessing=play
+skipcapture=true
 
 while true; do
        case "$1" in
@@ -67,6 +69,7 @@ while true; do
         -f?*)          refflight=${arg#-f}             ;;
        -t?*)           duration=${arg#-t}              ;;
        --rogue)        duration=''                     ;;
+       --capture)      skipcapture=false               ;;
        -l*)            logfile=${arg#-l}               ;;
        -r!*)           adjustsets+=("${arg#-r}")       ;;
        -r*=*)          adjustsets+=("${arg#-r}")       ;;
@@ -188,6 +191,8 @@ progress "setting up flight ..."
 
 adjrunvar truncate_testids "$testid"
 
+if $skipcapture; then adjrunvar skip_testids "capture-logs*"; fi
+
 ./cs-adjust-flight $flight                                             \
        copy-jobs $example_flight $job                                  \
        runvar-build-set . '/buildjob$' '^[^\.]+$' $example_flight      \
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.