mirror of https://github.com/ARMmbed/mbed-os.git
Verify that we ignore non-config json files
parent
250a1deab5
commit
db30e714f9
|
@ -126,6 +126,10 @@ class ResourcesTest(unittest.TestCase):
|
||||||
join("mbed-os", "platform", "bm", "bm.cpp")
|
join("mbed-os", "platform", "bm", "bm.cpp")
|
||||||
in res.get_file_names(FileType.CPP_SRC)
|
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__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue