summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPanagiotis Karalis <pkaralis@intracom-telecom.com>2019-02-25 14:56:18 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-02-27 11:00:32 +0100
commit34a26baa2683111dbcb3ec361d5caf5bf861a467 (patch)
tree5c9a84e0e2f2bec0078ffe179ed137f8c53b4915
parent1e605f2e62be3732bf0698d395ba363bf1e8553a (diff)
Gather all skipped tempest test cases
This patch applies a change to the regex responsible for identifying Tempest test cases. With the current regex some skipped test cases are erroneously ignored. The condition has been updated in order to match both format of skipped testcases ('skip:' and 'skip [xxx]:') Change-Id: Ie7144b01e07cae92918eede0324f3f1f2582c4aa Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com> (cherry picked from commit 692c50bbeb01b57c184cd8629a534a19f9b9ad73)
-rw-r--r--functest/opnfv_tests/openstack/tempest/tempest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/opnfv_tests/openstack/tempest/tempest.py b/functest/opnfv_tests/openstack/tempest/tempest.py
index 1ae37f91c..597c711fa 100644
--- a/functest/opnfv_tests/openstack/tempest/tempest.py
+++ b/functest/opnfv_tests/openstack/tempest/tempest.py
@@ -273,7 +273,7 @@ class TempestCommon(singlevm.VmReady2):
output):
failed_testcases.append(match)
skipped_testcases = []
- for match in re.findall(r'.*\{\d{1,2}\} (.*?) \.{3} skip:',
+ for match in re.findall(r'.*\{\d{1,2}\} (.*?) \.{3} skip(?::| )',
output):
skipped_testcases.append(match)