diff --git a/tools/test.py b/tools/test.py index 56eaddb02c..c9b897dc05 100644 --- a/tools/test.py +++ b/tools/test.py @@ -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: diff --git a/tools/test/toolchains/test_toolchains.py b/tools/test/toolchains/test_toolchains.py index d7877a74d8..8d23b12ee4 100644 --- a/tools/test/toolchains/test_toolchains.py +++ b/tools/test/toolchains/test_toolchains.py @@ -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"]