Skip to content

Fix build and test on Haiku OS - #120

Merged
lauft merged 1 commit into
GothenburgBitFactory:masterfrom
carmiac:interuptable-signal
Aug 15, 2026
Merged

Fix build and test on Haiku OS#120
lauft merged 1 commit into
GothenburgBitFactory:masterfrom
carmiac:interuptable-signal

Conversation

@carmiac

@carmiac carmiac commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

While working on getting TaskWarrior 3 to build, run, and pass all tests on Haiku I tracked down the last few test failures to libshared.

This PR does a few things:

  1. Adds a Haiku CI runner for testing.
  2. Add general build support for Haiku
  3. Fixes handling interrupted syscalls. This is half a Haiku bug and half a libshared issue. The Haiku issue is that wait() is failing due to a broken default ignore syscall issue, but waitpid() works and is arguably more correct here. The libshared issue is that haiku doesn't do the auto syscall retry that linux does, which isn't technically required under posix but most modern *nix's do. This might fix the same issue on some other, more obscure *nix's but I haven't tested it.
  4. Fixes a test for Japanese So unicode symbols. In this case Haiku is technically correct and the test is wrong because the unicode library on linux is whats really wrong, but it's probably too widespread to fix.

add haikuos test runner

Signed-off-by: Adam Milner <carmiac@gmail.com>
@carmiac
carmiac force-pushed the interuptable-signal branch from 51f13b0 to 3196001 Compare August 11, 2026 04:34
@lauft
lauft requested a review from djmitche August 14, 2026 12:09

@djmitche djmitche left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks like good fixes to me!

@lauft
lauft merged commit df59fd6 into GothenburgBitFactory:master Aug 15, 2026
11 checks passed
@lauft

lauft commented Aug 16, 2026

Copy link
Copy Markdown
Member

@carmiac

carmiac commented Aug 18, 2026

Copy link
Copy Markdown
Contributor Author

@lauft Looks like their current infra is having issues due to the upcoming release of beta6. I'll pull the test for 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.

3 participants