From cb08c2231d4e1522c3c049a16340a9ebab3e52fe Mon Sep 17 00:00:00 2001 From: Brian Daniels Date: Mon, 13 Jun 2016 15:07:57 +0100 Subject: [PATCH] Fixing issue where NotSupported error causes build fail --- tools/test_api.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tools/test_api.py b/tools/test_api.py index 9cdedf9dc9..9872d62316 100644 --- a/tools/test_api.py +++ b/tools/test_api.py @@ -2077,12 +2077,13 @@ def build_tests(tests, base_source_paths, build_path, target, toolchain_name, verbose=verbose) except Exception, e: - result = False - - if continue_on_build_fail: - continue - else: - break + if not isinstance(e, NotSupportedException): + result = False + + if continue_on_build_fail: + continue + else: + break # If a clean build was carried out last time, disable it for the next build. # Otherwise the previously built test will be deleted.