Verify that we ignore non-config json files

pull/9561/head
Jimmy Brisson 2019-01-31 09:18:00 -06:00
parent 250a1deab5
commit db30e714f9
2 changed files with 4 additions and 0 deletions

View File

@ -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__':