Skip to content

Commit 675ca1a

Browse files
committed
Add empty configuration for asm profile test
1 parent f87fab5 commit 675ca1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/test/toolchains/api_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ def test_toolchain_profile_asm(profile, source_file):
9999
notify=MockNotifier)
100100
toolchain.inc_md5 = ""
101101
toolchain.build_dir = ""
102+
toolchain.config = MagicMock()
103+
toolchain.config.get_config_data_macros.return_value = []
102104
for parameter in profile['asm']:
103105
assert any(parameter in cmd for cmd in toolchain.asm), \
104106
"Toolchain %s did not propagate arg %s" % (toolchain.name,

0 commit comments

Comments
 (0)