@@ -155,23 +155,31 @@ def test_gcc_version_check(_run_cmd):
155155 toolchain = TOOLCHAIN_CLASSES ["GCC_ARM" ](
156156 TARGET_MAP ["K64F" ], notify = notifier )
157157 toolchain .version_check ()
158- assert notifier .messages == []
158+ assert len ( notifier .messages ) == 1
159159 _run_cmd .return_value = ("""
160- arm-none-eabi-gcc (Arch Repository) 8.1.0
161- Copyright (C) 2018 Free Software Foundation, Inc.
160+ arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 9-2019-q4-major) 9.2.1 20191025 (release) [ARM/arm-9-branch revision 277599]
161+ Copyright (C) 2019 Free Software Foundation, Inc.
162162 This is free software; see the source for copying conditions. There is NO
163163 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
164164 """ , "" , 0 )
165165 toolchain .version_check ()
166166 assert len (notifier .messages ) == 1
167167 _run_cmd .return_value = ("""
168+ arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 10-2020-q4-major) 10.2.1 20201025 (release) [ARM/arm-10-branch revision 377599]
169+ Copyright (C) 2020 Free Software Foundation, Inc.
170+ This is free software; see the source for copying conditions. There is NO
171+ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
172+ """ , "" , 0 )
173+ toolchain .version_check ()
174+ assert len (notifier .messages ) == 2
175+ _run_cmd .return_value = ("""
168176 arm-none-eabi-gcc (Arch Repository)
169177 Copyright (C) 2018 Free Software Foundation, Inc.
170178 This is free software; see the source for copying conditions. There is NO
171179 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
172180 """ , "" , 0 )
173181 toolchain .version_check ()
174- assert len (notifier .messages ) == 2
182+ assert len (notifier .messages ) == 3
175183
176184
177185@given (fixed_dictionaries ({
0 commit comments