Fixing issue where NotSupported error causes build fail

Brian Daniels 2016-06-13 15:07:57 +01:00
parent cd5c9564fd
commit cb08c2231d
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.