Opened 19 years ago

Closed 10 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:
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 17 years ago.
posix-testsuite_killpg_sigpause.diff (34.5 KB ) - added by kaoutsis 16 years ago.

Download all attachments as: .zip

Change History (22)

comment:1 by diver, 19 years ago

Cc: diver added

comment:2 by johndrinkwater, 19 years ago

Cc: john@… added

comment:3 by kaliber, 18 years ago

Platform: All

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

comment:4 by kaoutsis, 18 years ago

Cc: kaoutsis added

comment:5 by jackburton, 18 years ago

Description: modified (diff)

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

comment:6 by bonefish, 18 years ago

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 by bonefish, 17 years ago

Owner: bonefish removed

comment:9 by kaoutsis, 17 years ago

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.

by kaoutsis, 17 years ago

Attachment: posix-testsuite.diff added

comment:10 by bonefish, 17 years ago

Thanks, applied in hrev25567.

by kaoutsis, 16 years ago

comment:11 by kaoutsis, 16 years ago

posix-testsuite_killpg_sigpause.diff:

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

comment:12 by mmadia, 16 years ago

Version: R1 development

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

comment:13 by anevilyak, 16 years ago

AFAIK it's not complete.

comment:14 by bonefish, 15 years ago

Milestone: R1POSIX

comment:15 by bonefish, 15 years ago

Component: Build SystemSystem/POSIX
Milestone: POSIXR1

comment:16 by scottmc, 14 years ago

patch: 01

comment:17 by nielx, 12 years ago

Owner: set to nobody
Status: newassigned

These patches definitively could use some reviews.

comment:18 by bonefish, 12 years ago

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 by bonefish, 12 years ago

patch: 10

comment:20 by pulkomandy, 10 years ago

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.