Merge pull request #322 from bridadan/fix-notsupported-test-build

Fixing issue where NotSupported error causes build fail
Mihail Stoyanov 2016-06-13 17:07:47 +01:00 committed by GitHub
commit d8836079ac
1 changed files with 7 additions and 6 deletions

View File

@ -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.