diff mbox series

[OSSTEST,8/9] mg-repro-setup: Move flight creation up before task creation

Message ID 20190502174238.23848-9-ian.jackson@eu.citrix.com (mailing list archive)
State Superseded
Headers show
Series mg-repro-flight: Provide --rebuild to make variant build jobs too | expand

Commit Message

Ian Jackson May 2, 2019, 5:42 p.m. UTC
No significant functional change.

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

Patch

diff --git a/mg-repro-setup b/mg-repro-setup
index d63e29b6..2e1d3b88 100755
--- a/mg-repro-setup
+++ b/mg-repro-setup
@@ -167,6 +167,9 @@  while [ $# -ne 0 ]; do
 	esac
 done
 
+flight=$(./cs-adjust-flight new:$blessing)
+progress "new flight is $flight"
+
 OSSTEST_TASK=$(perl -e '
 	use Osstest;
 	use Osstest::Executive;
@@ -176,9 +179,6 @@  OSSTEST_TASK=$(perl -e '
 ')
 export OSSTEST_TASK
 
-flight=$(./cs-adjust-flight new:$blessing)
-progress "new flight is $flight"
-
 if [ "${alloc_idents[*]}" ]; then
 	progress "allocating ${alloc_idents[*]} ..."
 	alloc_output=tmp/$flight.allocations