From 17efa8904759f2f4e83dce2a4bea12e0d5c84a5c Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 30 Jan 2019 18:00:40 +0200 Subject: [PATCH] Disable STM8 from CI tests --- tests/test_examples.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tests/test_examples.py b/tests/test_examples.py index e2404d07..3f34433b 100644 --- a/tests/test_examples.py +++ b/tests/test_examples.py @@ -34,11 +34,13 @@ def pytest_generate_tests(metafunc): # dev/platforms for manifest in PlatformManager().get_installed(): p = PlatformFactory.newPlatform(manifest['__pkg_dir']) - if not p.is_embedded(): - continue - # issue with "version `CXXABI_1.3.9' not found (required by sdcc)" - if "linux" in util.get_systype() and p.name in ("intel_mcs51", - "ststm8"): + ignore_conds = [ + not p.is_embedded(), + p.name == "ststm8", + # issue with "version `CXXABI_1.3.9' not found (required by sdcc)" + "linux" in util.get_systype() and p.name == "intel_mcs51" + ] + if any(ignore_conds): continue examples_dir = join(p.get_dir(), "examples") assert isdir(examples_dir)