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

Remove deprecated test-suite rule #1215

Closed
wants to merge 1 commit into from

Conversation

FantasqueX
Copy link
Contributor

According to
bfgroup/b2@5973506, b2 deprecated test-suite rule in 2007.

According to
bfgroup/b2@5973506,
b2 deprecated test-suite rule in 2007.
Copy link
Member

@vissarion vissarion left a comment

Choose a reason for hiding this comment

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

Thanks for this PR!
test-suite is deprecated indeed but it should be replaced by an equivalent rule i.e. alias instead of removing it.

If you removed it then the user would no longer be able to run commands of the form
b2 test/algorithms/area//boost-geometry-algorithms-area

@FantasqueX
Copy link
Contributor Author

Thanks for the review. The reason why I remove it instead of replacing with alias is that users can do the same thing using b2 test/algorithms/area. There is only one alias target in one directory.

Well, it's not that important. If you still think alias should be used, I'll change the PR.

@vissarion
Copy link
Member

I agree that there is a workaround for calling all tests in a directory but it seems like a braking change. Also I am not sure that the commands in the circleCI script will be run after this change. Cf. https://github.com/boostorg/geometry/blob/develop/.circleci/config.yml#L77C74-L77C116

@FantasqueX
Copy link
Contributor Author

Sorry for my carelessness. It is a breaking change at least for CI.

run is_valid_geo.cpp : : : : algorithms_is_valid_geo ;
run is_valid.cpp : : : <define>BOOST_GEOMETRY_ROBUSTNESS_ALTERNATIVE : algorithms_is_valid_alternative ;
run is_valid_failure.cpp : : : <define>BOOST_GEOMETRY_ROBUSTNESS_ALTERNATIVE : algorithms_is_valid_failure_alternative ;
run is_valid_geo.cpp : : : <define>BOOST_GEOMETRY_ROBUSTNESS_ALTERNATIVE : algorithms_is_valid_geo_alternative ;
Copy link
Collaborator

Choose a reason for hiding this comment

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

In the meantime, this is gone and should be omitted.
What are the plans with this PR?

@FantasqueX FantasqueX closed this May 21, 2024
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.

3 participants