diff mbox series

[OSSTEST,v2,3/8] mg-repro-setup: Do all builds in their own tasks, regardless

Message ID 20190621142258.1543-4-ian.jackson@eu.citrix.com (mailing list archive)
State New, archived
Headers show
Series mg-repro-* improvements | expand

Commit Message

Ian Jackson June 21, 2019, 2:22 p.m. UTC
In case OSSTEST_TASK was set by the caller, unset it.  Unsetting it
will cause each sg-run-job (inside mg-execute-task) to become its own
task.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 mg-repro-setup | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/mg-repro-setup b/mg-repro-setup
index dc6c5cbb..5a52e617 100755
--- a/mg-repro-setup
+++ b/mg-repro-setup
@@ -247,7 +247,8 @@  progress "new flight is $flight"
 
 if [ "x$rebuilds_flight" != x ]; then
 	progress "running build(s) $rebuilds_flight"
-	./mg-execute-flight -B$rebuilds_blessing --progress-fd=2 \
+	env -u OSSTEST_TASK \
+                ./mg-execute-flight -B$rebuilds_blessing --progress-fd=2 \
 		"${mgexecflags[@]}" $rebuilds_flight
 
 	mro=tmp/$rebuilds_flight.mro