Add a test for MDK pro version detection

pull/7367/head
Jimmy Brisson 2018-06-28 10:58:52 -05:00
parent 37013fb489
commit ed04c1b413
1 changed files with 7 additions and 0 deletions

View File

@ -31,6 +31,13 @@ def test_arm_version_check(_run_cmd):
toolchain.version_check()
assert notifier.messages == []
_run_cmd.return_value = ("""
Product: MDK Professional 5.22
Component: ARM Compiler 5.06 update 5 (build 528)
Tool: armcc [4d3621]
""", "", 0)
toolchain.version_check()
assert notifier.messages == []
_run_cmd.return_value = ("""
Product: ARM Compiler
Component: ARM Compiler
Tool: armcc [4d3621]