[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH OSSTEST] Do not run baseline tests on osstest branch.



If an osstest instance is running flights with
OSSTEST_BASELINES_ONLY=y (e.g. on a secondary site, like the Citrix
Cambridge instance) then it will also be running a regular osstest
flight to merge from the upstream osstest and does not want to also do
baseline testing.

I expect this will be the normal configuration in all sites other than
the master colo production instance, so arrange for it via
branch-settings.osstest rather than some site local configuration file.

In the colo production instance we never set OSSTEST_BASELINES_ONLY=y,
so this has no effect. If we did set that option I think suppressing it
for the osstest branch would still be correct.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 branch-settings.osstest | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/branch-settings.osstest b/branch-settings.osstest
index 060ff4b..0e46e23 100644
--- a/branch-settings.osstest
+++ b/branch-settings.osstest
@@ -1 +1,9 @@
 OSSTEST_EMAIL_HEADER=daily-cron-email-osstest
+
+# Sites which run baseline only tests will usually be running a
+# separate flight to merge osstest from upstream and do not need to do
+# baseline tests of it too.
+if [ x"$OSSTEST_BASELINES_ONLY" = xy ] ; then
+    echo "Not baseline testing osstest"
+    exit 1
+fi
-- 
2.5.1


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.