Skip to content
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

Unit tests for query_initialized #45

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

parkerha1
Copy link
Collaborator

No description provided.

test/unit/query_initialized.c Outdated Show resolved Hide resolved
test/unit/query_initialized.c Outdated Show resolved Hide resolved
Copy link
Collaborator

@davidozog davidozog left a comment

Choose a reason for hiding this comment

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

I believe this test might be better placed somewhere like test/shmemx since the mulitple init/finalize feature is predicted to be a part of OpenSHMEM v1.6.

int finalizes_done = 0;

// Check if SHMEM is initialized before calling init
shmem_query_initialized(&initialized);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe this should probably be shmemx_query_initialized... At least for tests-sos v1.5.x.

If we go that route, then this test wouldn't build against your SOS implementation of course, but I think that's ok temporarily during our transition to v1.6.x.

I think let's keep the test this way (shmem_) until we are ready to merge Sandia-OpenSHMEM/SOS#1144. Then we can test against this? Although, I'm not certain our CI covers shmemx very well... will have to check.

Sorry for the confusion...

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