From: Panagiotis Karalis Date: Mon, 25 Feb 2019 12:56:18 +0000 (+0200) Subject: Gather all skipped tempest test cases X-Git-Tag: opnfv-7.2.0~33 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F24%2F67124%2F1;p=functest.git 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 (cherry picked from commit 692c50bbeb01b57c184cd8629a534a19f9b9ad73) --- 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)