Skip to content

Commit ed04c1b

Browse files
committed
Add a test for MDK pro version detection
1 parent 37013fb commit ed04c1b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tools/test/toolchains/api_test.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ def test_arm_version_check(_run_cmd):
3131
toolchain.version_check()
3232
assert notifier.messages == []
3333
_run_cmd.return_value = ("""
34+
Product: MDK Professional 5.22
35+
Component: ARM Compiler 5.06 update 5 (build 528)
36+
Tool: armcc [4d3621]
37+
""", "", 0)
38+
toolchain.version_check()
39+
assert notifier.messages == []
40+
_run_cmd.return_value = ("""
3441
Product: ARM Compiler
3542
Component: ARM Compiler
3643
Tool: armcc [4d3621]

0 commit comments

Comments
 (0)