|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 5/8] ts-hosts-allocate-Executive: Honour OSSTEST_NOALLOCATE
This allows host allocation to be skipped even though the rest of the
job is being run.
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
ts-hosts-allocate-Executive | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/ts-hosts-allocate-Executive b/ts-hosts-allocate-Executive
index 0b83365..9417226 100755
--- a/ts-hosts-allocate-Executive
+++ b/ts-hosts-allocate-Executive
@@ -50,6 +50,11 @@ while (@ARGV and $ARGV[0] =~ m/^-/) {
}
}
+if ($ENV{'OSSTEST_NOALLOCATE'}) {
+ logm("OSSTEST_NOALLOCATE set, doing nothing.");
+ exit 0;
+}
+
# initialised by setup:
our $taskid;
our %magictaskid;
--
1.7.10.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |