]> xenbits.xensource.com Git - people/liuw/osstest.git/commit
make-flight: Support specifying a mini-os tree+revision
authorIan Campbell <ian.campbell@citrix.com>
Tue, 19 Jan 2016 12:48:08 +0000 (12:48 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 20 Jan 2016 16:43:40 +0000 (16:43 +0000)
commite2ea567dd1622aeaa6a5ed466f9a3d3e3f415b51
treec272c86ba19d2bec9db9598ddbdaf5108deb04d9
parent21f0d770a2a50e90552327ed019fbd1e7b2ec4d5
make-flight: Support specifying a mini-os tree+revision

This is useful for standalone or adhoc use as well as (presumably)
bisection.

There is no ap-* or cr-daily-* integration here because I didn't need
it (i.e. I'm not intending to create a new mini-os branch here).

In order to cope with Xen <= 4.5 where extras/mini-os exists but is
part of xen.git and not something cloned from elsewhere add a
$optional argument (itself optional) to dir_identify_vcs which if true
causes dir_identify_vcs to return 'none' instead of failing.

Previously dir_identify_vcs failed with:
    bash: line 5: fail: command not found
because the fail command is undefined. Instead echo fail and use that
to trigger the $optional handling.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Osstest/TestSupport.pm
mfi-common
ts-xen-build