Skip to content

Integrate posixtestsuite for pthread testing #12923

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 3, 2020
Merged

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Nov 30, 2020

This change adds posixtestsuite as a git submodule (in tests/third_party).

It also adds a new test suite that auto-populates based on the files
in posixtestsuite/conformance/interfaces/pthread_*

The submodule is optional in that the testsuite simply remains empty
if it is not found.

For now we just run a single one of these test under node in CI to verify
that basic concept works.

@sbc100 sbc100 requested review from kripken and juj November 30, 2020 17:56
@sbc100 sbc100 force-pushed the add_posixtestsuite branch 3 times, most recently from 202dd9c to 55c419f Compare November 30, 2020 20:25
sbc100 added a commit that referenced this pull request Nov 30, 2020
This means that tests don't necessarily need to call REPORT_RESULT.

I'm going to be taking advantage of this in #12923.

Also, don't initialize EXIT_STATUS to zero, but leave it as undefined.
It seems useful to be able to tell the diference between a program that
exits with a zero status and one that has not in fact exited yet.
sbc100 added a commit that referenced this pull request Nov 30, 2020
This means that tests don't necessarily need to call REPORT_RESULT.

I'm going to be taking advantage of this in #12923.

Also, don't initialize EXIT_STATUS to zero, but leave it as undefined.
It seems useful to be able to tell the diference between a program that
exits with a zero status and one that has not in fact exited yet.
sbc100 added a commit that referenced this pull request Dec 1, 2020
This means that tests don't necessarily need to call REPORT_RESULT.

I'm going to be taking advantage of this in #12923.

Also, don't initialize EXIT_STATUS to zero, but leave it as undefined.
It seems useful to be able to tell the diference between a program that
exits with a zero status and one that has not in fact exited yet.
@sbc100 sbc100 force-pushed the add_posixtestsuite branch from 69b1d2c to 286a86d Compare December 1, 2020 01:58
@sbc100 sbc100 requested a review from dschuff December 1, 2020 02:01
sbc100 added a commit that referenced this pull request Dec 2, 2020
This means that tests don't necessarily need to call REPORT_RESULT.

I'm going to be taking advantage of this in #12923.

Also, don't initialize EXIT_STATUS to zero, but leave it as undefined.
It seems useful to be able to tell the diference between a program that
exits with a zero status and one that has not in fact exited yet.
sbc100 added a commit that referenced this pull request Dec 2, 2020
This means that tests don't necessarily need to call REPORT_RESULT.

I'm going to be taking advantage of this in #12923.

Also, don't initialize EXIT_STATUS to zero, but leave it as undefined.
It seems useful to be able to tell the diference between a program that
exits with a zero status and one that has not in fact exited yet.
@sbc100 sbc100 force-pushed the add_posixtestsuite branch 2 times, most recently from c8ea7fd to 63b1dd1 Compare December 2, 2020 02:24
sbc100 added a commit that referenced this pull request Dec 2, 2020
This means that tests don't necessarily need to call REPORT_RESULT.

I'm going to be taking advantage of this in #12923.

Also, don't initialize EXIT_STATUS to zero, but leave it as undefined.
It seems useful to be able to tell the diference between a program that
exits with a zero status and one that has not in fact exited yet.
sbc100 added a commit that referenced this pull request Dec 2, 2020
This means that tests don't necessarily need to call REPORT_RESULT.

I'm going to be taking advantage of this in #12923.

Also, don't initialize EXIT_STATUS to zero, but leave it as undefined.
It seems useful to be able to tell the diference between a program that
exits with a zero status and one that has not in fact exited yet.
@sbc100 sbc100 force-pushed the add_posixtestsuite branch 2 times, most recently from 9a4e41b to 83114d4 Compare December 3, 2020 01:11
This change adds posixtestsuite as a git submodule (in tests/third_party).

It also adds a new test suite that auto-populates based on the files
in `posixtestsuite/conformance/interfaces/pthread_*`

The submodule is optional in that the testsuite simply remains empty
if it is not found.
@sbc100 sbc100 force-pushed the add_posixtestsuite branch from 83114d4 to 4856f06 Compare December 3, 2020 04:07
@sbc100 sbc100 merged commit 00d2c8d into master Dec 3, 2020
@sbc100 sbc100 deleted the add_posixtestsuite branch December 3, 2020 06:25
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.

2 participants