Opened 12 years ago

Closed 3 years ago

#61 closed enhancement (fixed)

Build POSIX test suite for haiku

Reported by: Andrew Bachmann 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 9 years ago.
posix-testsuite_killpg_sigpause.diff (34.5 KB) - added by kaoutsis 9 years ago.

Download all attachments as: .zip

Change History (22)

comment:1 Changed 12 years ago by diver

Cc: diver added

comment:2 Changed 11 years ago by johndrinkwater

Cc: john@… added

comment:3 Changed 11 years ago by Grzegorz Dąbrowski

Platform: All

We can use tests from http://posixtest.sourceforge.net/

comment:4 Changed 11 years ago by kaoutsis

Cc: kaoutsis added

comment:5 Changed 11 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 11 years ago by Ingo Weinhold

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 10 years ago by Ingo Weinhold

Owner: Ingo Weinhold deleted

comment:9 Changed 9 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 9 years ago by kaoutsis

Attachment: posix-testsuite.diff added

comment:10 Changed 9 years ago by Ingo Weinhold

Thanks, applied in hrev25567.

Changed 9 years ago by kaoutsis

comment:11 Changed 9 years ago by kaoutsis

posix-testsuite_killpg_sigpause.diff:

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

comment:12 Changed 9 years ago by Matt Madia

Version: R1 development

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

comment:13 Changed 9 years ago by Rene Gollent

AFAIK it's not complete.

comment:14 Changed 8 years ago by Ingo Weinhold

Milestone: R1POSIX

comment:15 Changed 8 years ago by Ingo Weinhold

Component: Build SystemSystem/POSIX
Milestone: POSIXR1

comment:16 Changed 7 years ago by scottmc

Has a Patch: set

comment:17 Changed 5 years ago by Niels Sascha Reedijk

Owner: set to Nobody
Status: newassigned

These patches definitively could use some reviews.

comment:18 Changed 5 years ago by Ingo Weinhold

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 5 years ago by Ingo Weinhold

Has a Patch: unset

comment:20 Changed 3 years ago by PulkoMandy

Resolution: fixed
Status: assignedclosed

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.