Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

functional tests - override runner for better output #1091

Merged
merged 2 commits into from
Nov 18, 2022

Conversation

MMyster
Copy link
Contributor

@MMyster MMyster commented Oct 28, 2022

No description provided.

@codecov
Copy link

codecov bot commented Oct 28, 2022

Codecov Report

Merging #1091 (8f37713) into develop (2456fc7) will increase coverage by 0.01%.
The diff coverage is n/a.

❗ Current head 8f37713 differs from pull request most recent head fa2b6d4. Consider uploading reports for the commit fa2b6d4 to get more accurate results

@@             Coverage Diff             @@
##           develop    #1091      +/-   ##
===========================================
+ Coverage    96.02%   96.04%   +0.01%     
===========================================
  Files          138      133       -5     
  Lines         3248     3183      -65     
===========================================
- Hits          3119     3057      -62     
+ Misses         129      126       -3     
Impacted Files Coverage Δ
libs/LogKit/include/LogKit.h 100.00% <0.00%> (ø)
libs/RFIDKit/include/ISO14443A.h 100.00% <0.00%> (ø)
...ers/CoreRFIDReader/source/CoreRFIDReaderCR95HF.cpp 100.00% <0.00%> (ø)
drivers/CoreIMU/include/CoreGyroscope.h
drivers/CoreIMU/source/CoreGyroscope.cpp
drivers/CoreIMU/source/CoreAccelerometer.cpp
drivers/CoreIMU/source/CoreLSM6DSOX.cpp
drivers/CoreIMU/include/CoreAccelerometer.h

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@github-actions
Copy link

github-actions bot commented Oct 28, 2022

File comparision analysis report

🔖 Info

  • base: develop / 52276a8 + mbed-os-6.15.1+fixes+gcc-11-support + -std=c++20
  • head: mmyster/feature/udl-synthax / 52276a8 + mbed-os-6.15.1+fixes+gcc-11-support + -std=c++20
  • toolchain: GNU Arm Embedded Toolchain 10.3-2021.10 - 10.3.1 20210824
  • enable_log_debug: OFF
Target Flash Used (%) Flash Available (%) Static RAM (%)
bootloader 169508 (64%) 92636 (35%) 30920 (5%)
os 410728 (26%) 1153944 (73%) 79608 (15%)
Click to show memory sections
| -          |      Hex |     Bytes |  KiB |
|------------|---------:|----------:|-----:|
| Flash      | 0x200000 | 2 097 152 | 2048 |
| SRAM       |  0x80000 |   524 288 |  512 |
| Bootloader |  0x40000 |   262 144 |  256 |
| Header     |   0x1000 |     4 096 |    4 |
| OS         | 0x17E000 | 1 564 672 | 1528 |
| Tail       |   0x1000 |     4 096 |    4 |
| Scratch    |  0x40000 |   262 144 |  256 |

📝 Summary

Click to show summary
  • ✔️ - existing target
  • ✨ - new target
  • ⚰️ - deleted target
  • ✅ - files are the same
  • ❌ - files are different
Target Status .bin .map Total Flash (base/head) Total Flash Δ Static RAM (base/head) Static RAM Δ
LekaOS ✔️ 410728 (19%) ø 79608 (15%) ø
bootloader ✔️ 169508 (8%) ø 30920 (5%) ø
functional_ut_boost_ut ✔️ 384496 (18%)
393052 (18%)
📈
8556 (2%)
20424 (3%) ø
functional_ut_deep_sleep_log_kit ✔️ 353936 (16%)
352040 (16%)
📉
-1896 (0%)
20376 (3%) ø
functional_ut_deep_sleep_mbed_hal ✔️ 355456 (16%)
353624 (16%)
📉
-1832 (0%)
20376 (3%) ø
functional_ut_file_manager ✔️ 373280 (17%)
371748 (17%)
📉
-1532 (0%)
20664 (3%) ø
functional_ut_imu ✔️ 369644 (17%)
368472 (17%)
📉
-1172 (0%)
20392 (3%) ø
functional_ut_io_expander ✔️ 360200 (17%)
358368 (17%)
📉
-1832 (0%)
20392 (3%) ø
functional_ut_qdac ✔️ 361448 (17%)
359552 (17%)
📉
-1896 (0%)
20392 (3%) ø
spike_lk_accel_gyro ✔️ 71184 (3%) ø 11808 (2%) ø
spike_lk_audio ✔️ 125076 (5%) ø 14568 (2%) ø
spike_lk_behavior_kit ✔️ 189752 (9%) ø 48120 (9%) ø
spike_lk_ble ✔️ 228768 (10%) ø 28200 (5%) ø
spike_lk_bluetooth ✔️ 82948 (3%) ø 11544 (2%) ø
spike_lk_cg_animations ✔️ 144696 (6%) ø 46528 (8%) ø
spike_lk_color_kit ✔️ 65776 (3%) ø 13744 (2%) ø
spike_lk_command_kit ✔️ 192520 (9%) ø 50944 (9%) ø
spike_lk_config_kit ✔️ 126956 (6%) ø 14312 (2%) ø
spike_lk_coreled ✔️ 76164 (3%) ø 13688 (2%) ø
spike_lk_core_touch_sensor ✔️ 80228 (3%) ø 12256 (2%) ø
spike_lk_event_queue ✔️ 74800 (3%) ø 12072 (2%) ø
spike_lk_file_manager_kit ✔️ 139016 (6%) ø 14416 (2%) ø
spike_lk_file_reception ✔️ 327112 (15%) ø 27576 (5%) ø
spike_lk_flash_memory ✔️ 63880 (3%) ø 11448 (2%) ø
spike_lk_fs ✔️ 174616 (8%) ø 47888 (9%) ø
spike_lk_lcd ✔️ 162236 (7%) ø 46616 (8%) ø
spike_lk_led_kit ✔️ 103992 (4%) ø 14608 (2%) ø
spike_lk_log_kit ✔️ 63288 (3%) ø 12256 (2%) ø
spike_lk_motors ✔️ 62600 (2%) ø 11488 (2%) ø
spike_lk_qdac ✔️ 78628 (3%) ø 11816 (2%) ø
spike_lk_reinforcer ✔️ 103480 (4%) ø 14608 (2%) ø
spike_lk_rfid ✔️ 78884 (3%) ø 11504 (2%) ø
spike_lk_sensors_battery ✔️ 78196 (3%) ø 12568 (2%) ø
spike_lk_sensors_light ✔️ 60056 (2%) ø 11440 (2%) ø
spike_lk_sensors_microphone ✔️ 72496 (3%) ø 11504 (2%) ø
spike_lk_sensors_temperature_humidity ✔️ 67048 (3%) ø 11424 (2%) ø
spike_lk_sensors_touch ✔️ 68600 (3%) ø 11432 (2%) ø
spike_lk_serial_number ✔️ 114308 (5%) ø 14056 (2%) ø
spike_lk_ticker_timeout ✔️ 69052 (3%) ø 11632 (2%) ø
spike_lk_update_process_app_base ✔️ 126092 (6%) ø 15296 (2%) ø
spike_lk_update_process_app_update ✔️ 77632 (3%) ø 12352 (2%) ø
spike_lk_watchdog_isr ✔️ 80060 (3%) ø 13272 (2%) ø
spike_lk_wifi ✔️ 116392 (5%) ø 14808 (2%) ø
spike_mbed_blinky ✔️ 58032 (2%) ø 11400 (2%) ø
spike_mbed_watchdog_ticker_vs_thread ✔️ 63208 (3%) ø 12448 (2%) ø
spike_stl_cxxsupport ✔️ 58456 (2%) ø 11400 (2%) ø

🗺️ Map files diff output

Click to show diff list
functional_ut_boost_ut (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/functional_ut_boost_ut-map.txt	2022-11-18 00:19:05.823551735 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/functional_ut_boost_ut-map.txt	2022-11-18 00:19:06.171556555 +0000
@@ -1,22 +1,22 @@
 | Module                    |           .text |       .data |          .bss |
 |---------------------------|-----------------|-------------|---------------|
-| [fill]                    |       186(+186) |     16(+16) |       36(+36) |
+| [fill]                    |       252(+252) |     16(+16) |       36(+36) |
 | [lib]/c.a                 |   73780(+73780) | 2574(+2574) |       97(+97) |
 | [lib]/gcc.a               |     7416(+7416) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a    |   46902(+46902) |   460(+460) | 10193(+10193) |
 | [lib]/misc                |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a             |         32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a            | 174332(+174332) |   145(+145) |   5720(+5720) |
-| __/__                     |     2392(+2392) |       1(+1) |     789(+789) |
-| test_array.cpp.obj        |     2544(+2544) |       8(+8) |         2(+2) |
-| test_expect.cpp.obj       |   13074(+13074) |       0(+0) |         1(+1) |
+| [lib]/stdc++.a            | 173768(+173768) |   145(+145) |   5720(+5720) |
+| __/__                     |     1640(+1640) |       1(+1) |     789(+789) |
+| test_array.cpp.obj        |     1808(+1808) |       8(+8) |         2(+2) |
+| test_expect.cpp.obj       |   20832(+20832) |       0(+0) |         1(+1) |
 | test_minimal.cpp.obj      |       486(+486) |       0(+0) |         1(+1) |
-| test_mutable.cpp.obj      |     3736(+3736) |       0(+0) |         1(+1) |
-| test_parametrized.cpp.obj |     8420(+8420) |       0(+0) |         1(+1) |
-| test_should.cpp.obj       |     2224(+2224) |       0(+0) |         1(+1) |
-| test_skip.cpp.obj         |     1662(+1662) |       0(+0) |         1(+1) |
+| test_mutable.cpp.obj      |     4016(+4016) |       0(+0) |         1(+1) |
+| test_parametrized.cpp.obj |   10166(+10166) |       0(+0) |         1(+1) |
+| test_should.cpp.obj       |     2022(+2022) |       0(+0) |         1(+1) |
+| test_skip.cpp.obj         |     1810(+1810) |       0(+0) |         1(+1) |
 | test_spec.cpp.obj         |       702(+702) |       0(+0) |         1(+1) |
-| Subtotals                 | 338076(+338076) | 3208(+3208) | 16872(+16872) |
+| Subtotals                 | 345820(+345820) | 3208(+3208) | 16872(+16872) |
 Total Static RAM memory (data + bss): 20080(+20080) bytes
-Total Flash memory (text + data): 341284(+341284) bytes
+Total Flash memory (text + data): 349028(+349028) bytes
 
Flash used: 393052&nbsp;(18%) / total: 2097152
SRAM used: 20424&nbsp;(3%) / total: 524288
functional_ut_deep_sleep_log_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/functional_ut_deep_sleep_log_kit-map.txt	2022-11-18 00:19:06.583562261 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/functional_ut_deep_sleep_log_kit-map.txt	2022-11-18 00:19:06.935567136 +0000
@@ -1,15 +1,15 @@
 | Module                 |           .text |       .data |          .bss |
 |------------------------|-----------------|-------------|---------------|
-| [fill]                 |       164(+164) |     16(+16) |       35(+35) |
+| [fill]                 |       196(+196) |     16(+16) |       35(+35) |
 | [lib]/c.a              |   73780(+73780) | 2574(+2574) |       97(+97) |
 | [lib]/gcc.a            |     7416(+7416) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a |   46934(+46934) |   460(+460) | 10193(+10193) |
 | [lib]/misc             |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a          |         32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a         | 174740(+174740) |   145(+145) |   5720(+5720) |
-| __/__                  |     2392(+2392) |       1(+1) |     789(+789) |
-| suite_log_kit.cpp.obj  |     3374(+3374) |       0(+0) |         2(+2) |
-| Subtotals              | 309020(+309020) | 3200(+3200) | 16864(+16864) |
+| [lib]/stdc++.a         | 173836(+173836) |   145(+145) |   5720(+5720) |
+| __/__                  |     1640(+1640) |       1(+1) |     789(+789) |
+| suite_log_kit.cpp.obj  |     3270(+3270) |       0(+0) |         2(+2) |
+| Subtotals              | 307292(+307292) | 3200(+3200) | 16864(+16864) |
 Total Static RAM memory (data + bss): 20064(+20064) bytes
-Total Flash memory (text + data): 312220(+312220) bytes
+Total Flash memory (text + data): 310492(+310492) bytes
 
Flash used: 352040&nbsp;(16%) / total: 2097152
SRAM used: 20376&nbsp;(3%) / total: 524288
functional_ut_deep_sleep_mbed_hal (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/functional_ut_deep_sleep_mbed_hal-map.txt	2022-11-18 00:19:07.335572676 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/functional_ut_deep_sleep_mbed_hal-map.txt	2022-11-18 00:19:07.695577662 +0000
@@ -1,15 +1,15 @@
 | Module                 |           .text |       .data |          .bss |
 |------------------------|-----------------|-------------|---------------|
-| [fill]                 |       206(+206) |     16(+16) |       35(+35) |
+| [fill]                 |       190(+190) |     16(+16) |       35(+35) |
 | [lib]/c.a              |   73780(+73780) | 2574(+2574) |       97(+97) |
 | [lib]/gcc.a            |     7416(+7416) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a |   46950(+46950) |   460(+460) | 10193(+10193) |
 | [lib]/misc             |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a          |         32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a         | 173996(+173996) |   145(+145) |   5720(+5720) |
-| __/__                  |     2392(+2392) |       1(+1) |     789(+789) |
-| suite_mbed_hal.cpp.obj |     5148(+5148) |       0(+0) |         2(+2) |
-| Subtotals              | 310108(+310108) | 3200(+3200) | 16864(+16864) |
+| [lib]/stdc++.a         | 173092(+173092) |   145(+145) |   5720(+5720) |
+| __/__                  |     1640(+1640) |       1(+1) |     789(+789) |
+| suite_mbed_hal.cpp.obj |     5156(+5156) |       0(+0) |         2(+2) |
+| Subtotals              | 308444(+308444) | 3200(+3200) | 16864(+16864) |
 Total Static RAM memory (data + bss): 20064(+20064) bytes
-Total Flash memory (text + data): 313308(+313308) bytes
+Total Flash memory (text + data): 311644(+311644) bytes
 
Flash used: 353624&nbsp;(16%) / total: 2097152
SRAM used: 20376&nbsp;(3%) / total: 524288
functional_ut_file_manager (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/functional_ut_file_manager-map.txt	2022-11-18 00:19:08.107583368 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/functional_ut_file_manager-map.txt	2022-11-18 00:19:08.455588188 +0000
@@ -1,16 +1,16 @@
 | Module                     |           .text |       .data |          .bss |
 |----------------------------|-----------------|-------------|---------------|
-| [fill]                     |       206(+206) |     12(+12) |       39(+39) |
+| [fill]                     |       184(+184) |     12(+12) |       39(+39) |
 | [lib]/FileManagerKit.a     |       940(+940) |       0(+0) |         0(+0) |
 | [lib]/c.a                  |   75652(+75652) | 2574(+2574) |       97(+97) |
 | [lib]/gcc.a                |     7416(+7416) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     |   49836(+49836) |   464(+464) | 10193(+10193) |
 | [lib]/misc                 |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |         32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a             | 180778(+180778) |   145(+145) |   5720(+5720) |
-| __/__                      |     2392(+2392) |       1(+1) |     789(+789) |
-| suite_file_manager.cpp.obj |     9156(+9156) |       8(+8) |     278(+278) |
-| Subtotals                  | 326596(+326596) | 3208(+3208) | 17144(+17144) |
+| [lib]/stdc++.a             | 180070(+180070) |   145(+145) |   5720(+5720) |
+| __/__                      |     1640(+1640) |       1(+1) |     789(+789) |
+| suite_file_manager.cpp.obj |     9230(+9230) |       8(+8) |     278(+278) |
+| Subtotals                  | 325188(+325188) | 3208(+3208) | 17144(+17144) |
 Total Static RAM memory (data + bss): 20352(+20352) bytes
-Total Flash memory (text + data): 329804(+329804) bytes
+Total Flash memory (text + data): 328396(+328396) bytes
 
Flash used: 371748&nbsp;(17%) / total: 2097152
SRAM used: 20664&nbsp;(3%) / total: 524288
functional_ut_imu (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/functional_ut_imu-map.txt	2022-11-18 00:19:08.871593950 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/functional_ut_imu-map.txt	2022-11-18 00:19:09.211598659 +0000
@@ -1,17 +1,17 @@
 | Module                 |           .text |       .data |          .bss |
 |------------------------|-----------------|-------------|---------------|
-| [fill]                 |       162(+162) |     16(+16) |       31(+31) |
+| [fill]                 |       214(+214) |     16(+16) |       31(+31) |
 | [lib]/CoreI2C.a        |         90(+90) |       0(+0) |         0(+0) |
 | [lib]/CoreIMU.a        |     5066(+5066) |       0(+0) |         0(+0) |
 | [lib]/c.a              |   73780(+73780) | 2574(+2574) |       97(+97) |
 | [lib]/gcc.a            |     7416(+7416) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a |   53552(+53552) |   460(+460) | 10213(+10213) |
 | [lib]/misc             |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a          |         32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a         | 175080(+175080) |   145(+145) |   5720(+5720) |
-| __/__                  |     2392(+2392) |       1(+1) |     789(+789) |
-| suite_lsm6dsox.cpp.obj |     6302(+6302) |       0(+0) |         2(+2) |
-| Subtotals              | 324060(+324060) | 3200(+3200) | 16880(+16880) |
+| [lib]/stdc++.a         | 174508(+174508) |   145(+145) |   5720(+5720) |
+| __/__                  |     1640(+1640) |       1(+1) |     789(+789) |
+| suite_lsm6dsox.cpp.obj |     6486(+6486) |       0(+0) |         2(+2) |
+| Subtotals              | 322972(+322972) | 3200(+3200) | 16880(+16880) |
 Total Static RAM memory (data + bss): 20080(+20080) bytes
-Total Flash memory (text + data): 327260(+327260) bytes
+Total Flash memory (text + data): 326172(+326172) bytes
 
Flash used: 368472&nbsp;(17%) / total: 2097152
SRAM used: 20392&nbsp;(3%) / total: 524288
functional_ut_io_expander (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/functional_ut_io_expander-map.txt	2022-11-18 00:19:09.607604143 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/functional_ut_io_expander-map.txt	2022-11-18 00:19:09.939608741 +0000
@@ -1,17 +1,17 @@
 | Module                    |           .text |       .data |          .bss |
 |---------------------------|-----------------|-------------|---------------|
-| [fill]                    |       216(+216) |     16(+16) |       31(+31) |
+| [fill]                    |       172(+172) |     16(+16) |       31(+31) |
 | [lib]/CoreI2C.a           |         90(+90) |       0(+0) |         0(+0) |
 | [lib]/CoreIOExpander.a    |       504(+504) |       0(+0) |         0(+0) |
 | [lib]/c.a                 |   73780(+73780) | 2574(+2574) |       97(+97) |
 | [lib]/gcc.a               |     7416(+7416) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a    |   53492(+53492) |   460(+460) | 10213(+10213) |
 | [lib]/misc                |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a             |         32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a            | 174740(+174740) |   145(+145) |   5720(+5720) |
-| __/__                     |     2392(+2392) |       1(+1) |     789(+789) |
-| suite_io_expander.cpp.obj |     2250(+2250) |       0(+0) |         2(+2) |
-| Subtotals                 | 315100(+315100) | 3200(+3200) | 16880(+16880) |
+| [lib]/stdc++.a            | 173836(+173836) |   145(+145) |   5720(+5720) |
+| __/__                     |     1640(+1640) |       1(+1) |     789(+789) |
+| suite_io_expander.cpp.obj |     2286(+2286) |       0(+0) |         2(+2) |
+| Subtotals                 | 313436(+313436) | 3200(+3200) | 16880(+16880) |
 Total Static RAM memory (data + bss): 20080(+20080) bytes
-Total Flash memory (text + data): 318300(+318300) bytes
+Total Flash memory (text + data): 316636(+316636) bytes
 
Flash used: 358368&nbsp;(17%) / total: 2097152
SRAM used: 20392&nbsp;(3%) / total: 524288
functional_ut_qdac (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-OFF/functional_ut_qdac-map.txt	2022-11-18 00:19:10.339614281 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-OFF/functional_ut_qdac-map.txt	2022-11-18 00:19:10.679618990 +0000
@@ -1,17 +1,17 @@
 | Module                 |           .text |       .data |          .bss |
 |------------------------|-----------------|-------------|---------------|
-| [fill]                 |       190(+190) |     16(+16) |       31(+31) |
+| [fill]                 |       170(+170) |     16(+16) |       31(+31) |
 | [lib]/CoreI2C.a        |         90(+90) |       0(+0) |         0(+0) |
 | [lib]/CoreQDAC.a       |       854(+854) |       0(+0) |         0(+0) |
 | [lib]/c.a              |   73780(+73780) | 2574(+2574) |       97(+97) |
 | [lib]/gcc.a            |     7416(+7416) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a |   53552(+53552) |   460(+460) | 10213(+10213) |
 | [lib]/misc             |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a          |         32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a         | 174740(+174740) |   145(+145) |   5720(+5720) |
-| __/__                  |     2392(+2392) |       1(+1) |     789(+789) |
-| suite_qdac.cpp.obj     |     3018(+3018) |       0(+0) |         2(+2) |
-| Subtotals              | 316252(+316252) | 3200(+3200) | 16880(+16880) |
+| [lib]/stdc++.a         | 173836(+173836) |   145(+145) |   5720(+5720) |
+| __/__                  |     1640(+1640) |       1(+1) |     789(+789) |
+| suite_qdac.cpp.obj     |     2966(+2966) |       0(+0) |         2(+2) |
+| Subtotals              | 314524(+314524) | 3200(+3200) | 16880(+16880) |
 Total Static RAM memory (data + bss): 20080(+20080) bytes
-Total Flash memory (text + data): 319452(+319452) bytes
+Total Flash memory (text + data): 317724(+317724) bytes
 
Flash used: 359552&nbsp;(17%) / total: 2097152
SRAM used: 20392&nbsp;(3%) / total: 524288

@github-actions
Copy link

github-actions bot commented Oct 28, 2022

File comparision analysis report

🔖 Info

  • base: develop / 52276a8 + mbed-os-6.15.1+fixes+gcc-11-support + -std=c++20
  • head: mmyster/feature/udl-synthax / 52276a8 + mbed-os-6.15.1+fixes+gcc-11-support + -std=c++20
  • toolchain: GNU Arm Embedded Toolchain 10.3-2021.10 - 10.3.1 20210824
  • enable_log_debug: ON
Target Flash Used (%) Flash Available (%) Static RAM (%)
bootloader 182028 (69%) 80116 (30%) 37520 (7%)
os 451780 (28%) 1112892 (71%) 86728 (16%)
Click to show memory sections
| -          |      Hex |     Bytes |  KiB |
|------------|---------:|----------:|-----:|
| Flash      | 0x200000 | 2 097 152 | 2048 |
| SRAM       |  0x80000 |   524 288 |  512 |
| Bootloader |  0x40000 |   262 144 |  256 |
| Header     |   0x1000 |     4 096 |    4 |
| OS         | 0x17E000 | 1 564 672 | 1528 |
| Tail       |   0x1000 |     4 096 |    4 |
| Scratch    |  0x40000 |   262 144 |  256 |

📝 Summary

Click to show summary
  • ✔️ - existing target
  • ✨ - new target
  • ⚰️ - deleted target
  • ✅ - files are the same
  • ❌ - files are different
Target Status .bin .map Total Flash (base/head) Total Flash Δ Static RAM (base/head) Static RAM Δ
LekaOS ✔️ 451780 (21%) ø 86728 (16%) ø
bootloader ✔️ 182028 (8%) ø 37520 (7%) ø
functional_ut_boost_ut ✔️ 396192 (18%)
409000 (19%)
📈
12808 (3%)
27152 (5%) ø
functional_ut_deep_sleep_log_kit ✔️ 366688 (17%)
365092 (17%)
📉
-1596 (0%)
27104 (5%) ø
functional_ut_deep_sleep_mbed_hal ✔️ 368240 (17%)
366772 (17%)
📉
-1468 (0%)
27104 (5%) ø
functional_ut_file_manager ✔️ 385928 (18%)
384524 (18%)
📉
-1404 (0%)
27400 (5%) ø
functional_ut_imu ✔️ 381324 (18%)
380964 (18%)
📉
-360 (0%)
27120 (5%) ø
functional_ut_io_expander ✔️ 371832 (17%)
370940 (17%)
📉
-892 (0%)
27120 (5%) ø
functional_ut_qdac ✔️ 373144 (17%)
372108 (17%)
📉
-1036 (0%)
27120 (5%) ø
spike_lk_accel_gyro ✔️ 94048 (4%) ø 18472 (3%) ø
spike_lk_audio ✔️ 135196 (6%) ø 21048 (4%) ø
spike_lk_behavior_kit ✔️ 198380 (9%) ø 54600 (10%) ø
spike_lk_ble ✔️ 236780 (11%) ø 34920 (6%) ø
spike_lk_bluetooth ✔️ 92364 (4%) ø 18128 (3%) ø
spike_lk_cg_animations ✔️ 152392 (7%) ø 53128 (10%) ø
spike_lk_color_kit ✔️ 88480 (4%) ø 20280 (3%) ø
spike_lk_command_kit ✔️ 202844 (9%) ø 57936 (11%) ø
spike_lk_config_kit ✔️ 138932 (6%) ø 21040 (4%) ø
spike_lk_coreled ✔️ 88044 (4%) ø 20168 (3%) ø
spike_lk_core_touch_sensor ✔️ 92884 (4%) ø 18736 (3%) ø
spike_lk_event_queue ✔️ 84152 (4%) ø 18808 (3%) ø
spike_lk_file_manager_kit ✔️ 154048 (7%) ø 21400 (4%) ø
spike_lk_file_reception ✔️ 331308 (15%) ø 34136 (6%) ø
spike_lk_flash_memory ✔️ 86776 (4%) ø 18120 (3%) ø
spike_lk_fs ✔️ 173976 (8%) ø 47976 (9%) ø
spike_lk_lcd ✔️ 171916 (8%) ø 53352 (10%) ø
spike_lk_led_kit ✔️ 115772 (5%) ø 21088 (4%) ø
spike_lk_log_kit ✔️ 84776 (4%) ø 19312 (3%) ø
spike_lk_motors ✔️ 86072 (4%) ø 18152 (3%) ø
spike_lk_qdac ✔️ 91572 (4%) ø 18680 (3%) ø
spike_lk_reinforcer ✔️ 112316 (5%) ø 21088 (4%) ø
spike_lk_rfid ✔️ 84080 (4%) ø 18088 (3%) ø
spike_lk_sensors_battery ✔️ 87184 (4%) ø 19184 (3%) ø
spike_lk_sensors_light ✔️ 84072 (4%) ø 18120 (3%) ø
spike_lk_sensors_microphone ✔️ 84824 (4%) ø 18120 (3%) ø
spike_lk_sensors_temperature_humidity ✔️ 90400 (4%) ø 18096 (3%) ø
spike_lk_sensors_touch ✔️ 91672 (4%) ø 18360 (3%) ø
spike_lk_serial_number ✔️ 136316 (6%) ø 20960 (3%) ø
spike_lk_ticker_timeout ✔️ 82712 (3%) ø 18136 (3%) ø
spike_lk_update_process_app_base ✔️ 148044 (7%) ø 21968 (4%) ø
spike_lk_update_process_app_update ✔️ 100456 (4%) ø 19144 (3%) ø
spike_lk_watchdog_isr ✔️ 87320 (4%) ø 20024 (3%) ø
spike_lk_wifi ✔️ 130832 (6%) ø 21432 (4%) ø
spike_mbed_blinky ✔️ 57616 (2%) ø 11496 (2%) ø
spike_mbed_watchdog_ticker_vs_thread ✔️ 84176 (4%) ø 18984 (3%) ø
spike_stl_cxxsupport ✔️ 83488 (3%) ø 18208 (3%) ø

🗺️ Map files diff output

Click to show diff list
functional_ut_boost_ut (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/functional_ut_boost_ut-map.txt	2022-11-18 00:17:50.574211438 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/functional_ut_boost_ut-map.txt	2022-11-18 00:17:50.862210024 +0000
@@ -1,24 +1,24 @@
 | Module                    |           .text |       .data |          .bss |
 |---------------------------|-----------------|-------------|---------------|
-| [fill]                    |       220(+220) |     16(+16) |       40(+40) |
+| [fill]                    |       242(+242) |     16(+16) |       40(+40) |
 | [lib]/CriticalSection.a   |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/c.a                 |   72688(+72688) | 2574(+2574) |       97(+97) |
 | [lib]/gcc.a               |     7416(+7416) |       0(+0) |         0(+0) |
 | [lib]/m.a                 |       372(+372) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a    |   54698(+54698) |   460(+460) | 10317(+10317) |
 | [lib]/misc                |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a             |         32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a            | 174840(+174840) |   145(+145) |   5720(+5720) |
-| __/__                     |     4822(+4822) |       1(+1) |   7389(+7389) |
-| test_array.cpp.obj        |     2544(+2544) |       8(+8) |         2(+2) |
-| test_expect.cpp.obj       |   13074(+13074) |       0(+0) |         1(+1) |
-| test_minimal.cpp.obj      |       486(+486) |       0(+0) |         1(+1) |
-| test_mutable.cpp.obj      |     3736(+3736) |       0(+0) |         1(+1) |
-| test_parametrized.cpp.obj |     8420(+8420) |       0(+0) |         1(+1) |
-| test_should.cpp.obj       |     2224(+2224) |       0(+0) |         1(+1) |
-| test_skip.cpp.obj         |     1662(+1662) |       0(+0) |         1(+1) |
-| test_spec.cpp.obj         |       702(+702) |       0(+0) |         1(+1) |
-| Subtotals                 | 348132(+348132) | 3208(+3208) | 23600(+23600) |
+| [lib]/stdc++.a            | 174472(+174472) |   145(+145) |   5720(+5720) |
+| __/__                     |     4216(+4216) |       1(+1) |   7389(+7389) |
+| test_array.cpp.obj        |     2284(+2284) |       8(+8) |         2(+2) |
+| test_expect.cpp.obj       |   21306(+21306) |       0(+0) |         1(+1) |
+| test_minimal.cpp.obj      |       982(+982) |       0(+0) |         1(+1) |
+| test_mutable.cpp.obj      |     4512(+4512) |       0(+0) |         1(+1) |
+| test_parametrized.cpp.obj |   10662(+10662) |       0(+0) |         1(+1) |
+| test_should.cpp.obj       |     2518(+2518) |       0(+0) |         1(+1) |
+| test_skip.cpp.obj         |     2306(+2306) |       0(+0) |         1(+1) |
+| test_spec.cpp.obj         |     1198(+1198) |       0(+0) |         1(+1) |
+| Subtotals                 | 360100(+360100) | 3208(+3208) | 23600(+23600) |
 Total Static RAM memory (data + bss): 26808(+26808) bytes
-Total Flash memory (text + data): 351340(+351340) bytes
+Total Flash memory (text + data): 363308(+363308) bytes
 
Flash used: 409000&nbsp;(19%) / total: 2097152
SRAM used: 27152&nbsp;(5%) / total: 524288
functional_ut_deep_sleep_log_kit (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/functional_ut_deep_sleep_log_kit-map.txt	2022-11-18 00:17:51.186208434 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/functional_ut_deep_sleep_log_kit-map.txt	2022-11-18 00:17:51.462207079 +0000
@@ -1,17 +1,17 @@
 | Module                  |           .text |       .data |          .bss |
 |-------------------------|-----------------|-------------|---------------|
-| [fill]                  |       226(+226) |     16(+16) |       39(+39) |
+| [fill]                  |       192(+192) |     16(+16) |       39(+39) |
 | [lib]/CriticalSection.a |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/c.a               |   72688(+72688) | 2574(+2574) |       97(+97) |
 | [lib]/gcc.a             |     7416(+7416) |       0(+0) |         0(+0) |
 | [lib]/m.a               |       372(+372) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a  |   54730(+54730) |   460(+460) | 10317(+10317) |
 | [lib]/misc              |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a           |         32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a          | 175248(+175248) |   145(+145) |   5720(+5720) |
-| __/__                   |     4822(+4822) |       1(+1) |   7389(+7389) |
-| suite_log_kit.cpp.obj   |     4370(+4370) |       0(+0) |         2(+2) |
-| Subtotals               | 320100(+320100) | 3200(+3200) | 23592(+23592) |
+| [lib]/stdc++.a          | 174540(+174540) |   145(+145) |   5720(+5720) |
+| __/__                   |     4216(+4216) |       1(+1) |   7389(+7389) |
+| suite_log_kit.cpp.obj   |     4246(+4246) |       0(+0) |         2(+2) |
+| Subtotals               | 318628(+318628) | 3200(+3200) | 23592(+23592) |
 Total Static RAM memory (data + bss): 26792(+26792) bytes
-Total Flash memory (text + data): 323300(+323300) bytes
+Total Flash memory (text + data): 321828(+321828) bytes
 
Flash used: 365092&nbsp;(17%) / total: 2097152
SRAM used: 27104&nbsp;(5%) / total: 524288
functional_ut_deep_sleep_mbed_hal (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/functional_ut_deep_sleep_mbed_hal-map.txt	2022-11-18 00:17:51.778205528 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/functional_ut_deep_sleep_mbed_hal-map.txt	2022-11-18 00:17:52.054204398 +0000
@@ -1,17 +1,17 @@
 | Module                  |           .text |       .data |          .bss |
 |-------------------------|-----------------|-------------|---------------|
-| [fill]                  |       202(+202) |     16(+16) |       39(+39) |
+| [fill]                  |       206(+206) |     16(+16) |       39(+39) |
 | [lib]/CriticalSection.a |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/c.a               |   72688(+72688) | 2574(+2574) |       97(+97) |
 | [lib]/gcc.a             |     7416(+7416) |       0(+0) |         0(+0) |
 | [lib]/m.a               |       372(+372) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a  |   54746(+54746) |   460(+460) | 10317(+10317) |
 | [lib]/misc              |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a           |         32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a          | 174504(+174504) |   145(+145) |   5720(+5720) |
-| __/__                   |     4822(+4822) |       1(+1) |   7389(+7389) |
-| suite_mbed_hal.cpp.obj  |     5890(+5890) |       0(+0) |         2(+2) |
-| Subtotals               | 320868(+320868) | 3200(+3200) | 23592(+23592) |
+| [lib]/stdc++.a          | 173796(+173796) |   145(+145) |   5720(+5720) |
+| __/__                   |     4216(+4216) |       1(+1) |   7389(+7389) |
+| suite_mbed_hal.cpp.obj  |     5856(+5856) |       0(+0) |         2(+2) |
+| Subtotals               | 319524(+319524) | 3200(+3200) | 23592(+23592) |
 Total Static RAM memory (data + bss): 26792(+26792) bytes
-Total Flash memory (text + data): 324068(+324068) bytes
+Total Flash memory (text + data): 322724(+322724) bytes
 
Flash used: 366772&nbsp;(17%) / total: 2097152
SRAM used: 27104&nbsp;(5%) / total: 524288
functional_ut_file_manager (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/functional_ut_file_manager-map.txt	2022-11-18 00:17:52.378203207 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/functional_ut_file_manager-map.txt	2022-11-18 00:17:52.662202163 +0000
@@ -1,18 +1,18 @@
 | Module                     |           .text |       .data |          .bss |
 |----------------------------|-----------------|-------------|---------------|
-| [fill]                     |       204(+204) |     12(+12) |       43(+43) |
+| [fill]                     |       206(+206) |     12(+12) |       43(+43) |
 | [lib]/CriticalSection.a    |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/FileManagerKit.a     |     1448(+1448) |       0(+0) |         0(+0) |
 | [lib]/c.a                  |   74560(+74560) | 2574(+2574) |       97(+97) |
 | [lib]/gcc.a                |     7416(+7416) |       0(+0) |         0(+0) |
 | [lib]/m.a                  |       372(+372) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a     |   57632(+57632) |   464(+464) | 10317(+10317) |
 | [lib]/misc                 |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a              |         32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a             | 181286(+181286) |   145(+145) |   5720(+5720) |
-| __/__                      |     4822(+4822) |       1(+1) |   7389(+7389) |
-| suite_file_manager.cpp.obj |     9636(+9636) |       8(+8) |     278(+278) |
-| Subtotals                  | 337604(+337604) | 3208(+3208) | 23872(+23872) |
+| [lib]/stdc++.a             | 180578(+180578) |   145(+145) |   5720(+5720) |
+| __/__                      |     4216(+4216) |       1(+1) |   7389(+7389) |
+| suite_file_manager.cpp.obj |     9668(+9668) |       8(+8) |     278(+278) |
+| Subtotals                  | 336324(+336324) | 3208(+3208) | 23872(+23872) |
 Total Static RAM memory (data + bss): 27080(+27080) bytes
-Total Flash memory (text + data): 340812(+340812) bytes
+Total Flash memory (text + data): 339532(+339532) bytes
 
Flash used: 384524&nbsp;(18%) / total: 2097152
SRAM used: 27400&nbsp;(5%) / total: 524288
functional_ut_imu (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/functional_ut_imu-map.txt	2022-11-18 00:17:52.982200986 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/functional_ut_imu-map.txt	2022-11-18 00:17:53.262199957 +0000
@@ -1,19 +1,19 @@
 | Module                  |           .text |       .data |          .bss |
 |-------------------------|-----------------|-------------|---------------|
-| [fill]                  |       196(+196) |     16(+16) |       35(+35) |
+| [fill]                  |       198(+198) |     16(+16) |       35(+35) |
 | [lib]/CoreI2C.a         |         90(+90) |       0(+0) |         0(+0) |
 | [lib]/CoreIMU.a         |     5066(+5066) |       0(+0) |         0(+0) |
 | [lib]/CriticalSection.a |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/c.a               |   72688(+72688) | 2574(+2574) |       97(+97) |
 | [lib]/gcc.a             |     7416(+7416) |       0(+0) |         0(+0) |
 | [lib]/m.a               |       372(+372) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a  |   61348(+61348) |   460(+460) | 10337(+10337) |
 | [lib]/misc              |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a           |         32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a          | 175588(+175588) |   145(+145) |   5720(+5720) |
-| __/__                   |     4822(+4822) |       1(+1) |   7389(+7389) |
-| suite_lsm6dsox.cpp.obj  |     6302(+6302) |       0(+0) |         2(+2) |
-| Subtotals               | 334116(+334116) | 3200(+3200) | 23608(+23608) |
+| [lib]/stdc++.a          | 175212(+175212) |   145(+145) |   5720(+5720) |
+| __/__                   |     4216(+4216) |       1(+1) |   7389(+7389) |
+| suite_lsm6dsox.cpp.obj  |     6962(+6962) |       0(+0) |         2(+2) |
+| Subtotals               | 333796(+333796) | 3200(+3200) | 23608(+23608) |
 Total Static RAM memory (data + bss): 26808(+26808) bytes
-Total Flash memory (text + data): 337316(+337316) bytes
+Total Flash memory (text + data): 336996(+336996) bytes
 
Flash used: 380964&nbsp;(18%) / total: 2097152
SRAM used: 27120&nbsp;(5%) / total: 524288
functional_ut_io_expander (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/functional_ut_io_expander-map.txt	2022-11-18 00:17:53.586198765 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/functional_ut_io_expander-map.txt	2022-11-18 00:17:53.862197751 +0000
@@ -1,19 +1,19 @@
 | Module                    |           .text |       .data |          .bss |
 |---------------------------|-----------------|-------------|---------------|
-| [fill]                    |       186(+186) |     16(+16) |       35(+35) |
+| [fill]                    |       220(+220) |     16(+16) |       35(+35) |
 | [lib]/CoreI2C.a           |         90(+90) |       0(+0) |         0(+0) |
 | [lib]/CoreIOExpander.a    |       504(+504) |       0(+0) |         0(+0) |
 | [lib]/CriticalSection.a   |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/c.a                 |   72688(+72688) | 2574(+2574) |       97(+97) |
 | [lib]/gcc.a               |     7416(+7416) |       0(+0) |         0(+0) |
 | [lib]/m.a                 |       372(+372) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a    |   61288(+61288) |   460(+460) | 10337(+10337) |
 | [lib]/misc                |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a             |         32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a            | 175248(+175248) |   145(+145) |   5720(+5720) |
-| __/__                     |     4822(+4822) |       1(+1) |   7389(+7389) |
-| suite_io_expander.cpp.obj |     2250(+2250) |       0(+0) |         2(+2) |
-| Subtotals                 | 325092(+325092) | 3200(+3200) | 23608(+23608) |
+| [lib]/stdc++.a            | 174540(+174540) |   145(+145) |   5720(+5720) |
+| __/__                     |     4216(+4216) |       1(+1) |   7389(+7389) |
+| suite_io_expander.cpp.obj |     2762(+2762) |       0(+0) |         2(+2) |
+| Subtotals                 | 324324(+324324) | 3200(+3200) | 23608(+23608) |
 Total Static RAM memory (data + bss): 26808(+26808) bytes
-Total Flash memory (text + data): 328292(+328292) bytes
+Total Flash memory (text + data): 327524(+327524) bytes
 
Flash used: 370940&nbsp;(17%) / total: 2097152
SRAM used: 27120&nbsp;(5%) / total: 524288
functional_ut_qdac (click to expand)
--- build_artifacts/base_ref-build-enable_log_debug-ON/functional_ut_qdac-map.txt	2022-11-18 00:17:54.182196574 +0000
+++ build_artifacts/head_ref-build-enable_log_debug-ON/functional_ut_qdac-map.txt	2022-11-18 00:17:54.462195544 +0000
@@ -1,19 +1,19 @@
 | Module                  |           .text |       .data |          .bss |
 |-------------------------|-----------------|-------------|---------------|
-| [fill]                  |       224(+224) |     16(+16) |       35(+35) |
+| [fill]                  |       218(+218) |     16(+16) |       35(+35) |
 | [lib]/CoreI2C.a         |         90(+90) |       0(+0) |         0(+0) |
 | [lib]/CoreQDAC.a        |       854(+854) |       0(+0) |         0(+0) |
 | [lib]/CriticalSection.a |           8(+8) |       0(+0) |         0(+0) |
 | [lib]/c.a               |   72688(+72688) | 2574(+2574) |       97(+97) |
 | [lib]/gcc.a             |     7416(+7416) |       0(+0) |         0(+0) |
 | [lib]/m.a               |       372(+372) |       0(+0) |         0(+0) |
 | [lib]/mbed-os-static.a  |   61348(+61348) |   460(+460) | 10337(+10337) |
 | [lib]/misc              |       188(+188) |       4(+4) |       28(+28) |
 | [lib]/nosys.a           |         32(+32) |       0(+0) |         0(+0) |
-| [lib]/stdc++.a          | 175248(+175248) |   145(+145) |   5720(+5720) |
-| __/__                   |     4822(+4822) |       1(+1) |   7389(+7389) |
-| suite_qdac.cpp.obj      |     3018(+3018) |       0(+0) |         2(+2) |
-| Subtotals               | 326308(+326308) | 3200(+3200) | 23608(+23608) |
+| [lib]/stdc++.a          | 174540(+174540) |   145(+145) |   5720(+5720) |
+| __/__                   |     4216(+4216) |       1(+1) |   7389(+7389) |
+| suite_qdac.cpp.obj      |     3442(+3442) |       0(+0) |         2(+2) |
+| Subtotals               | 325412(+325412) | 3200(+3200) | 23608(+23608) |
 Total Static RAM memory (data + bss): 26808(+26808) bytes
-Total Flash memory (text + data): 329508(+329508) bytes
+Total Flash memory (text + data): 328612(+328612) bytes
 
Flash used: 372108&nbsp;(17%) / total: 2097152
SRAM used: 27120&nbsp;(5%) / total: 524288

@ladislas ladislas changed the title 🔧 (functional): Override printer functional tests - override runner for better output Nov 10, 2022
@ladislas ladislas self-assigned this Nov 10, 2022
@ladislas ladislas added the 01 - type: task Something to do label Nov 10, 2022
@ladislas ladislas added this to the Future Release milestone Nov 10, 2022
@ladislas ladislas changed the base branch from develop to ladislas/feature/log-kit-log-free November 14, 2022 12:53
@ladislas ladislas force-pushed the ladislas/feature/log-kit-log-free branch from 56c6c0e to 59e881a Compare November 14, 2022 12:58
Copy link
Contributor

@HPezz HPezz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines 22 to 23
};

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just an extra reminder here to remove this commit before merging

Base automatically changed from ladislas/feature/log-kit-log-free to develop November 14, 2022 23:16
Comment on lines 33 to 45
auto on(ut::events::test_end test_end) -> void
{
if (asserts_.fail > fails_) {
++tests_.fail;
printer_ << '\n';
printer_ << "Running \"" << test_end.name << "\"...";
printer_ << printer_.colors().fail << "FAILED" << printer_.colors().none << '\n';
} else {
++tests_.pass;
printer_ << '\n';
printer_ << "Running \"" << test_end.name << "\"...";
printer_ << printer_.colors().pass << "PASSED" << printer_.colors().none << '\n';
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test is ended, it is not running anymore. Moreover previous format is different since it is on one line.

I suggest two things:

  1. Do as default implementation by putting at the end FAILED or PASSED
  2. As unit test rendering, replace Running by OK/FAILED or Result of

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
auto on(ut::events::test_end test_end) -> void
{
if (asserts_.fail > fails_) {
++tests_.fail;
printer_ << '\n';
printer_ << "Running \"" << test_end.name << "\"...";
printer_ << printer_.colors().fail << "FAILED" << printer_.colors().none << '\n';
} else {
++tests_.pass;
printer_ << '\n';
printer_ << "Running \"" << test_end.name << "\"...";
printer_ << printer_.colors().pass << "PASSED" << printer_.colors().none << '\n';
}
}
auto on(ut::events::test_end test_end) -> void
{
if (asserts_.fail > fails_) {
++tests_.fail;
printer_ << printer_.colors().fail << "FAILED" << printer_.colors().none << '\n';
} else {
++tests_.pass;
printer_ << printer_.colors().pass << "PASSED" << printer_.colors().none << '\n';
}
}

Screenshot 2022-11-17 at 3 37 15 PM

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
auto on(ut::events::test_end test_end) -> void
{
if (asserts_.fail > fails_) {
++tests_.fail;
printer_ << '\n';
printer_ << "Running \"" << test_end.name << "\"...";
printer_ << printer_.colors().fail << "FAILED" << printer_.colors().none << '\n';
} else {
++tests_.pass;
printer_ << '\n';
printer_ << "Running \"" << test_end.name << "\"...";
printer_ << printer_.colors().pass << "PASSED" << printer_.colors().none << '\n';
}
}
auto on(ut::events::test_end test_end) -> void
{
if (asserts_.fail > fails_) {
++tests_.fail;
printer_ << '\n';
printer_ << "Result of \"" << test_end.name << "\"...";
printer_ << printer_.colors().fail << "FAILED" << printer_.colors().none << '\n';
} else {
++tests_.pass;
printer_ << '\n';
printer_ << "Result of \"" << test_end.name << "\"...";
printer_ << printer_.colors().pass << "PASSED" << printer_.colors().none << '\n';
}
}

Example of unit test:

Screenshot 2022-11-17 at 3 51 04 PM

@ladislas ladislas merged commit 52276a8 into develop Nov 18, 2022
@ladislas ladislas deleted the mmyster/feature/udl-synthax branch November 18, 2022 00:04
@sonarcloud
Copy link

sonarcloud bot commented Nov 18, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
01 - type: task Something to do
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants