From 1e19a88fa3e4f9acec955417e544600fe32bb9f7 Mon Sep 17 00:00:00 2001
From: Jaume Devesa <devvesa@gmail.com>
Date: Thu, 23 Apr 2015 10:48:50 +0200
Subject: [PATCH] Add testr_results report

Using the env var DEVSTACK_GATE_TEMPEST will add a report with the
passed tests.

DEVSTACK_GATE_TEMPEST_FULL is not needed because in the devstack-gate is
evaluated only if DEVSTACK_GATE_TEMPEST_REGEX is not set, which is.

Change-Id: I6fd119b1669dd8bafeb7c55bbaf87eb49fad592a
---
 jenkins/jobs/networking-midonet.yaml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/jenkins/jobs/networking-midonet.yaml b/jenkins/jobs/networking-midonet.yaml
index 8c1930596e..2ff86fda93 100644
--- a/jenkins/jobs/networking-midonet.yaml
+++ b/jenkins/jobs/networking-midonet.yaml
@@ -16,7 +16,7 @@
           export PYTHONUNBUFFERED=true
           export DEVSTACK_GATE_TIMEOUT=120
           export DEVSTACK_GATE_NEUTRON=1
-          export DEVSTACK_GATE_TEMPEST_FULL=1
+          export DEVSTACK_GATE_TEMPEST=1
           export BRANCH_OVERRIDE={branch-override}
           if [ "$BRANCH_OVERRIDE" != "default" ] ; then
               export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
@@ -46,7 +46,8 @@
 
           # Run api network tests, for it is the only api that MidoNet
           # implements; and the scenario ones for higher level tests
-          export DEVSTACK_GATE_TEMPEST_REGEX="^tempest\.(api.network|scenario)"
+          export DEVSTACK_GATE_TEMPEST_REGEX="tempest.api.network \
+                                              tempest.scenario"
 
           cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
           ./safe-devstack-vm-gate-wrap.sh