Skip to content

Make unit tests runnable on Linux#686

Merged
dcantah merged 1 commit intoapple:mainfrom
dcantah:linux-test
Apr 15, 2026
Merged

Make unit tests runnable on Linux#686
dcantah merged 1 commit intoapple:mainfrom
dcantah:linux-test

Conversation

@dcantah
Copy link
Copy Markdown
Member

@dcantah dcantah commented Apr 14, 2026

Closes #606

This lets the unit tests be runnable on linux. This:

  • Adds a linux-test makefile target so we can run the unit tests locally
  • Fixes up some test code to work on Linux (mostly ifdefs)
  • Runs the unit tests in CI now

@dcantah
Copy link
Copy Markdown
Member Author

dcantah commented Apr 14, 2026

Seems the allocator on the ci machines is being more unfavorable to the ext4 tests

@dcantah dcantah marked this pull request as draft April 14, 2026 21:06
This lets the unit tests be runnable on linux:

- Adds a linux-test target so we can run the unit tests locally
- Fixes up some test code to work on Linux (mostly ifdefs)
- Runs the unit tests in CI now
- Fixes an ext4 bug that was only failing on linux
@dcantah dcantah marked this pull request as ready for review April 15, 2026 23:25
@dcantah dcantah merged commit 0f4c8cf into apple:main Apr 15, 2026
7 of 8 checks passed
tonycoco pushed a commit to tonycoco/containerization that referenced this pull request Apr 18, 2026
Closes apple#606

This lets the unit tests be runnable on linux. The change:

- Adds a linux-test makefile target so we can run the unit tests locally
- Fixes up some test code to work on Linux (mostly ifdefs)
- Runs the unit tests in CI now
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.

[Request]: CI: add Linux build and test

2 participants