Skip to content

Followup ghostfat test#104

Merged
hathach merged 6 commits into
masterfrom
followup-ghostfat_test
Mar 25, 2021
Merged

Followup ghostfat test#104
hathach merged 6 commits into
masterfrom
followup-ghostfat_test

Conversation

@hathach
Copy link
Copy Markdown
Member

@hathach hathach commented Mar 24, 2021

follow up to #94 to separate native build tests from cross-compile (for target hardware). NO_TINYUF2_BUILD is used for this purpose (along with SKIP_NANOLIB, some later ports especially non-ARM may skip this lib as well). NO_TINYUF2_BUILD introduced in recent PR to allow make.mk and rule.mk to build other executable image such as erase_firmware (will also migrate self_update later on).

Eventually, test_ghostfat/main.c run on its own and interact with a small subset of board_api, those that are used by ghostfat.c.

PS: I really like this and want to move this to its own unit tests folder, maybe later. Got to catch up with iMXRT board release https://www.adafruit.com/product/4950

@hathach hathach requested a review from henrygab March 24, 2021 07:20
@henrygab
Copy link
Copy Markdown
Collaborator

OK, will review....

Copy link
Copy Markdown
Collaborator

@henrygab henrygab left a comment

Choose a reason for hiding this comment

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

Well done! Just two minor questions. I can approve now, as they are so minor.

Comment thread ports/test_ghostfat/main.c Outdated
Comment thread ports/test_ghostfat/main.c
Comment thread .github/workflows/build.yml
@hathach
Copy link
Copy Markdown
Member Author

hathach commented Mar 25, 2021

thank you for reviewing

@hathach hathach merged commit 65877a4 into master Mar 25, 2021
@hathach hathach deleted the followup-ghostfat_test branch March 25, 2021 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants