Skip to content

Commit 935f8a9

Browse files
committed
Increase test coverage of get_sizes_from_output function
1 parent f7b700d commit 935f8a9

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

compilesketches/tests/test_compilesketches.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1803,6 +1803,28 @@ def checkout(self):
18031803
" ^~~~~\n"
18041804
"Sketch uses {flash} bytes (4%) of program storage space. Maximum is {maximum_flash} bytes.\n",
18051805
12636,
1806+
25272,
1807+
50.0,
1808+
get_compilesketches_object().not_applicable_indicator,
1809+
get_compilesketches_object().not_applicable_indicator,
1810+
get_compilesketches_object().not_applicable_indicator,
1811+
),
1812+
(
1813+
True,
1814+
"/home/per/Arduino/libraries/Servo/src/samd/Servo.cpp: In function 'void _initISR(Tc*, uint8_t, uint32_t, IRQn_Ty"
1815+
"pe, uint8_t, uint8_t)':\n"
1816+
"/home/per/Arduino/libraries/Servo/src/samd/Servo.cpp:120:56: warning: unused parameter 'id' [-Wunused-parameter]"
1817+
"\n"
1818+
" static void _initISR(Tc *tc, uint8_t channel, uint32_t id, IRQn_Type irqn, uint8_t gcmForTimer, uint8_t intEnab"
1819+
" leBit)\n"
1820+
" ^~\n"
1821+
"/home/per/Arduino/libraries/Servo/src/samd/Servo.cpp: In function 'void finISR(timer16_Sequence_t)':\n"
1822+
"/home/per/Arduino/libraries/Servo/src/samd/Servo.cpp:174:39: warning: unused parameter 'timer' [-Wunused-paramet"
1823+
"er]\n"
1824+
" static void finISR(timer16_Sequence_t timer)\n"
1825+
" ^~~~~\n"
1826+
"Sketch uses {flash} bytes (4%) of program storage space.\n",
1827+
12636,
18061828
get_compilesketches_object().not_applicable_indicator,
18071829
get_compilesketches_object().not_applicable_indicator,
18081830
get_compilesketches_object().not_applicable_indicator,

0 commit comments

Comments
 (0)