Opened 11 years ago

Closed 2 years ago

#61 closed enhancement (fixed)

Build POSIX test suite for haiku

Reported by: andrewbachmann Owned by: nobody
Priority: normal Milestone: R1
Component: System/POSIX Version: R1/pre-alpha1
Keywords: Cc: diver, kaoutsis
Blocked By: Blocking:
Has a Patch: no Platform: All

Description (last modified by jackburton)

It would be good to build this test suite for Haiku at some point, and possibly
also for other BeOS variants, in order to test them for (in)compatibility.

credit to Philippe Houdoin for this worthy suggestion from the openbeos list

Attachments (2)

posix-testsuite.diff (43.9 KB) - added by kaoutsis 8 years ago.
posix-testsuite_killpg_sigpause.diff (34.5 KB) - added by kaoutsis 8 years ago.

Download all attachments as: .zip

Change History (22)

comment:1 Changed 11 years ago by diver

  • Cc diver added

comment:2 Changed 10 years ago by johndrinkwater

  • Cc john@… added

comment:3 Changed 10 years ago by kaliber

  • Platform set to All

We can use tests from

comment:4 Changed 10 years ago by kaoutsis

  • Cc kaoutsis added

comment:5 Changed 10 years ago by jackburton

  • Description modified (diff)

Note that we have already some of those tests in the tree (src/tests/system/libroot/posix/posixtestsuite)

comment:6 Changed 10 years ago by bonefish

BTW, for some reason this ticket is assigned to me, but I don't feel responsible for it and don't think I'll take action any time soon. If anyone wants this test suite, please just grab the ticket and do it.

comment:8 Changed 9 years ago by bonefish

  • Owner bonefish deleted

comment:9 Changed 8 years ago by kaoutsis

Comments on posix-testsuite.diff:

  • made the output easier to observe;
  • added the sigsuspend_6-1 test to the package;
  • made the fork_3-1 test return when it fails;
  • added output to the pthread_once tests;
  • other minor cosmetic changes.

Changed 8 years ago by kaoutsis

comment:10 Changed 8 years ago by bonefish

Thanks, applied in hrev25567.

Changed 8 years ago by kaoutsis

comment:11 Changed 8 years ago by kaoutsis


  • added the killpg() and sigpause() tests to the package

comment:12 Changed 8 years ago by mmadia

  • Version set to R1 development

"PosixTestSuite" is listed in OptionalTestPackages. Is there a reason to keep this ticket open?

comment:13 Changed 8 years ago by anevilyak

AFAIK it's not complete.

comment:14 Changed 7 years ago by bonefish

  • Milestone changed from R1 to POSIX

comment:15 Changed 7 years ago by bonefish

  • Component changed from Build System to System/POSIX
  • Milestone changed from POSIX to R1

comment:16 Changed 6 years ago by scottmc

  • Has a Patch set

comment:17 Changed 4 years ago by nielx

  • Owner set to nobody
  • Status changed from new to assigned

These patches definitively could use some reviews.

comment:18 Changed 4 years ago by bonefish

Last year I removed the POSIX test suite as it were and replaced it by a complete import of the original source. Thereafter I updated/removed some of the tests (signal and timer related ones at least) to agree with the POSIX specification. Both the test suite and Haiku's POSIX compliance need more work.

Anyway, the patches are now obsolete. While the colored output maybe be nice to look at, it doesn't help with keeping track of the functional changes. So I don't think we should reintroduce it. The same goes for the style changes.

comment:19 Changed 4 years ago by bonefish

  • Has a Patch unset

comment:20 Changed 2 years ago by pulkomandy

  • Resolution set to fixed
  • Status changed from assigned to closed

It's now also available as an haikuports recipe, and shows several failures in Haiku. But I think it's time to close this ticket.

Note: See TracTickets for help on using tickets.