diff mbox series

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

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

Commit Message

Ian Jackson May 3, 2019, 4:59 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