Skip to content

Commit

Permalink
Increase test coverage of get_sizes_from_output function
Browse files Browse the repository at this point in the history
  • Loading branch information
per1234 committed Mar 31, 2023
1 parent f7b700d commit 935f8a9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions compilesketches/tests/test_compilesketches.py
Original file line number Diff line number Diff line change
Expand Up @@ -1803,6 +1803,28 @@ def checkout(self):
" ^~~~~\n"
"Sketch uses {flash} bytes (4%) of program storage space. Maximum is {maximum_flash} bytes.\n",
12636,
25272,
50.0,
get_compilesketches_object().not_applicable_indicator,
get_compilesketches_object().not_applicable_indicator,
get_compilesketches_object().not_applicable_indicator,
),
(
True,
"/home/per/Arduino/libraries/Servo/src/samd/Servo.cpp: In function 'void _initISR(Tc*, uint8_t, uint32_t, IRQn_Ty"
"pe, uint8_t, uint8_t)':\n"
"/home/per/Arduino/libraries/Servo/src/samd/Servo.cpp:120:56: warning: unused parameter 'id' [-Wunused-parameter]"
"\n"
" static void _initISR(Tc *tc, uint8_t channel, uint32_t id, IRQn_Type irqn, uint8_t gcmForTimer, uint8_t intEnab"
" leBit)\n"
" ^~\n"
"/home/per/Arduino/libraries/Servo/src/samd/Servo.cpp: In function 'void finISR(timer16_Sequence_t)':\n"
"/home/per/Arduino/libraries/Servo/src/samd/Servo.cpp:174:39: warning: unused parameter 'timer' [-Wunused-paramet"
"er]\n"
" static void finISR(timer16_Sequence_t timer)\n"
" ^~~~~\n"
"Sketch uses {flash} bytes (4%) of program storage space.\n",
12636,
get_compilesketches_object().not_applicable_indicator,
get_compilesketches_object().not_applicable_indicator,
get_compilesketches_object().not_applicable_indicator,
Expand Down

0 comments on commit 935f8a9

Please sign in to comment.