]> xenbits.xensource.com Git - osstest.git/commitdiff
standalone-generate-dump-flight-runvars: Simulate cri-getplatforms
authorIan Jackson <iwj@xenproject.org>
Thu, 1 Oct 2020 15:36:29 +0000 (16:36 +0100)
committerIan Jackson <iwj@xenproject.org>
Thu, 1 Oct 2020 16:12:35 +0000 (17:12 +0100)
Set MF_SIMULATE_PLATFORMS to a suitable value if it is
not *set*.  (Distinguishing unset from set to empty.)

I have verified that this, plus the preceding commits to
cri-getplatforms, produces no change in the output of
  MF_SIMULATE_PLATFORMS='' OSSTEST_CONFIG=standalone-config-example eatmydata ./standalone-generate-dump-flight-runvars

Without the MF_SIMULATE_PLATFORMS setting it adds several new jobs to
each flight, name things like this:
  test-amd64-$arch1-xl-simplat-$arch2-$suite

The purpose of this right now is to provide a way to dry-run test the
next change.

Signed-off-by: Ian Jackson <iwj@xenproject.org>
standalone-generate-dump-flight-runvars

index 5c93b0af23ba43e5ae0a21d13c766c81e78bb8c5..07b9c126b4b594446ebadda897a65306462bb520 100755 (executable)
@@ -45,6 +45,9 @@ fi
 : ${AP_FETCH_PLACEHOLDERS:=y}
 export AP_FETCH_PLACEHOLDERS
 
+: ${MF_SIMULATE_PLATFORMS='simplat-$xenarch-$suite'}
+export MF_SIMULATE_PLATFORMS
+
 export OSSTEST_HOSTSLIST_DUMMY=1
 
 if [ "x$AP_FETCH_PLACEHOLDERS" != xy ]; then