Skip to contentSkip to conversation

cri-getplatforms: Require a tested platform to have some purpose-test hosts

PATCH New Ian Jackson 1 participant 1 message Apr 7, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cri-getplatforms: Require a tested platform to have some purpose-test hosts

---
 Osstest/HostDB/Executive.pm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
Osstest/HostDB/Executive.pm +5 -2
index 3e5eca2..300178b 100644
@@ -76,10 +76,13 @@ SELECT DISTINCT hostflag
            FROM hostflags h0
    WHERE EXISTS (
        SELECT *
-         FROM hostflags h1, hostflags h2
-        WHERE h0.hostname = h1.hostname AND h1.hostname = h2.hostname
+         FROM hostflags h1, hostflags h2, hostflags h3
+        WHERE h0.hostname = h1.hostname
+          AND h1.hostname = h2.hostname
+          AND h2.hostname = h3.hostname
           AND h1.hostflag = ?
           AND h2.hostflag = ?
+          AND h3.hostflag = 'purpose-test'
    )
    AND hostflag like 'platform-%';
 END
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel