|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH] mg-repro-setup: --autoalloc-nofree option
This lets you run the automatic allocator within your own task, so you
get to keep whatever it found.
Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
CC: Wei Liu <wei.liu2@xxxxxxxxxx>
---
mg-repro-setup | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/mg-repro-setup b/mg-repro-setup
index 25cbc78..0bafb53 100755
--- a/mg-repro-setup
+++ b/mg-repro-setup
@@ -58,6 +58,7 @@ logfile=tmp/mg-repro-setup.log
duration=28d
blessing=play
skipcapture=true
+autoalloc=false
while true; do
case "$1" in
@@ -72,6 +73,7 @@ while true; do
-t?*) duration=${arg#-t} ;;
--rogue) duration='' ;;
--capture) skipcapture=false ;;
+ --autoalloc-nofree) autoalloc=true ;;
-l*) logfile=${arg#-l} ;;
-r!*) adjustsets+=("${arg#-r}") ;;
-r*=*) adjustsets+=("${arg#-r}") ;;
@@ -204,7 +206,10 @@ if $skipcapture; then adjrunvar skip_testids
"capture-logs*"; fi
progress "executing ..."
-OSSTEST_NOALLOCATE=1 \
+if ! $autoalloc; then
+ export OSSTEST_NOALLOCATE=1
+fi
+
./mg-execute-flight -B$blessing -f$refflight --progress-fd=2 \
"${mgexecflags[@]}" $flight
--
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 |