Address review comments

pull/9561/head
Jimmy Brisson 2019-01-30 15:06:01 -06:00
parent 06ea053419
commit ee5fea417b
2 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,6 @@ def test_config(name):
] ]
for typ in Resources.ALL_FILE_TYPES: for typ in Resources.ALL_FILE_TYPES:
for _, path in resources.get_file_refs(typ): for _, path in resources.get_file_refs(typ):
print(path)
if included_source and path in included_source: if included_source and path in included_source:
included_source.remove(path) included_source.remove(path)
if excluded_source: if excluded_source:

View File

@ -20,6 +20,7 @@ from tools.notifier.mock import MockNotifier
SRC_PATHS = { SRC_PATHS = {
'': join(dirname(__file__), 'source'), '': join(dirname(__file__), 'source'),
# The online compiler uses a similar mapping, with the `.lib` suffix.
'mbed-os': join(dirname(__file__), 'mbed-os.lib'), 'mbed-os': join(dirname(__file__), 'mbed-os.lib'),
} }
@ -76,7 +77,7 @@ class ResourcesTest(unittest.TestCase):
def test_detect_duplicates(self): def test_detect_duplicates(self):
""" """
Verify that detect_duplicates finds all off the duplicate object files Verify that detect_duplicates finds all of the duplicate object files
in the scanned tree. in the scanned tree.
""" """
notifier = MockNotifier() notifier = MockNotifier()