From 2ad07442cebfaca7d5d70191f9ffca1cabdf4370 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Fri, 10 Aug 2018 13:04:11 +0200 Subject: Skip the selected testcase too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It completes "Allow calling a skip test" [1] [1] https://gerrit.opnfv.org/gerrit/60655 Change-Id: I02499aed56e6b23563165ea1f17b476e12408823 Signed-off-by: Cédric Ollivier (cherry picked from commit a9491ef0948f8fe3eb3772b6b6ae44d86bde7e9b) --- xtesting/ci/run_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtesting/ci/run_tests.py') diff --git a/xtesting/ci/run_tests.py b/xtesting/ci/run_tests.py index 27f9d946..255b74df 100644 --- a/xtesting/ci/run_tests.py +++ b/xtesting/ci/run_tests.py @@ -138,7 +138,7 @@ class Runner(object): def run_test(self, test): """Run one test case""" - if not test.is_enabled(): + if not test.is_enabled() or test.is_skipped(): msg = prettytable.PrettyTable( header_style='upper', padding_width=5, field_names=['test case', 'project', 'duration', -- cgit 1.2.3-korg