mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #12188 from rajkan01/greentea_test_bug_fix
Greentea test :Added the print in the exception handlerpull/12195/head
commit
244422d470
|
@ -261,9 +261,11 @@ def main():
|
|||
library_build_success = True
|
||||
except ToolException as e:
|
||||
# ToolException output is handled by the build log
|
||||
print("[ERROR] " + str(e))
|
||||
pass
|
||||
except NotSupportedException as e:
|
||||
# NotSupportedException is handled by the build log
|
||||
print("[ERROR] " + str(e))
|
||||
pass
|
||||
except Exception as e:
|
||||
if options.verbose:
|
||||
|
|
|
@ -195,7 +195,6 @@ class TestIarToolchain(TestCase):
|
|||
"""Test that an exception is raised if the std C library is not supported for a target on the IAR toolchain."""
|
||||
mock_target = mock.MagicMock()
|
||||
mock_target.core = "Cortex-M4"
|
||||
mock_target.microlib_supported = False
|
||||
mock_target.default_lib = "std"
|
||||
mock_target.supported_c_libs = {"iar": ["small"]}
|
||||
mock_target.supported_toolchains = ["IAR"]
|
||||
|
@ -206,7 +205,6 @@ class TestIarToolchain(TestCase):
|
|||
"""Test that an exception is raised if the small C library is not supported for a target on the IAR toolchain."""
|
||||
mock_target = mock.MagicMock()
|
||||
mock_target.core = "Cortex-M4"
|
||||
mock_target.microlib_supported = False
|
||||
mock_target.default_lib = "small"
|
||||
mock_target.supported_c_libs = {"iar": ["std"]}
|
||||
mock_target.supported_toolchains = ["IAR"]
|
||||
|
|
Loading…
Reference in New Issue