|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 06/15] sg-run-job: Execute prep-job/RECIPE if it exists
This allows a job to do its own host allocation, for example.
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
v2: New patch
---
sg-run-job | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sg-run-job b/sg-run-job
index 8acb902..cfbc34b 100755
--- a/sg-run-job
+++ b/sg-run-job
@@ -73,6 +73,9 @@ proc run-job {job} {
if {$ok} { setstatus running }
+ if {$ok && ![catch { info args prep-job/$jobinfo(recipe) }]} \
+ { catching-otherwise fail prep-job/$jobinfo(recipe) }
+
per-host-ts broken host-install/@(*) ts-host-install-twice
per-host-prep
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |