diff --git a/tools/test/resources/mbed-os.lib/TARGET_FRDM/modules.json b/tools/test/resources/mbed-os.lib/TARGET_FRDM/modules.json new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tools/test/resources/resource_test.py b/tools/test/resources/resource_test.py index 5fcf8f1684..ddf0cf6ff5 100644 --- a/tools/test/resources/resource_test.py +++ b/tools/test/resources/resource_test.py @@ -126,6 +126,10 @@ class ResourcesTest(unittest.TestCase): join("mbed-os", "platform", "bm", "bm.cpp") in res.get_file_names(FileType.CPP_SRC) ) + assert( + join("mbed-os", "TARGET_FRDM", "not-main.cpp") + in res.get_file_names(FileType.CPP_SRC) + ) if __name__ == '__main__':