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

Move tests of extensions inside test/ directory #302

Merged

Conversation

mloskot
Copy link
Member

@mloskot mloskot commented May 27, 2019

Split header tests accordingly i.e. test core headers as part of
core tests, numeric extension headers as part of numeric tests, etc.

It extends the convention of sub-directories already established in
include/boost/gil directory. It is sensible to follow it in other
areas of the source tree (i.e. test/, doc/ and benchmark/).

Another important reason to move the tests is to enable removal of
the top-level Jamfile with all its definitions of test-specific
requirements.
The top-level Jamfile is not advised, especially if it specifies
build requirements like C++ language version.
Those affect non-tests builds e.g. documentation, causing failures
during generation of HTML documentation (leads to missing docs).

References

Tasklist

  • Update Boost.Build configuration in Jamfile-s
  • Update CMake configuration CMakeLists.txt-s
  • Ensure all CI builds pass
  • Review and approve

FYI, The unwanted top-level Jamfile has been confirmed (by @djarek and @pdimov) as what caused GIL docs build failures and not publishing them as part of Boost 1.70 docs.

Sorry, something went wrong.

@mloskot mloskot added the status/work-in-progress Do NOT merge yet until this label has been removed! label May 27, 2019
@mloskot mloskot requested a review from stefanseefeld May 27, 2019 20:23
@mloskot mloskot self-assigned this May 27, 2019
@mloskot mloskot force-pushed the ml/move-extension-tests-into-test-dir branch 4 times, most recently from 22a5da5 to 8cd1f0d Compare May 28, 2019 08:40

Verified

This commit was signed with the committer’s verified signature.
mloskot Mateusz Łoskot
Split header tests accordingly i.e. test core headers as part of
core tests, numeric extension headers as part of numeric tests, etc.

It extends the convention of sub-directories already established in
`include/boost/gil` directory. It is sensible to follow it in other
areas of the source tree (i.e. `test/`, `doc/` and `benchmark/`).

Another important reason to move the tests is to enable removal of
the top-level `Jamfile` with all its definitions of test-specific
requirements.
The top-level `Jamfile` is not advised, especially if it specifies
build requirements like C++ language version.
Those affect non-tests builds e.g. documentation, causing failures
during generation of HTML documentation (leads to missing docs).
@mloskot mloskot force-pushed the ml/move-extension-tests-into-test-dir branch from 8cd1f0d to 3260f1a Compare May 28, 2019 10:25
@mloskot mloskot added this to the Boost 1.71 milestone May 28, 2019
@mloskot mloskot removed the status/work-in-progress Do NOT merge yet until this label has been removed! label May 28, 2019
@mloskot mloskot merged commit 4ed7701 into boostorg:develop May 28, 2019
@mloskot mloskot deleted the ml/move-extension-tests-into-test-dir branch May 28, 2019 16:58
@mloskot
Copy link
Member Author

mloskot commented May 28, 2019

@stefanseefeld We may have to merge into master sooner to get this change (and fix the docs build).

This looks good now
https://www.boost.org/doc/libs/develop/libs/gil/doc/html/index.html
whereas this does not
https://www.boost.org/doc/libs/master/libs/gil/doc/html/index.html

mloskot added a commit that referenced this pull request May 28, 2019

Verified

This commit was signed with the committer’s verified signature.
mloskot Mateusz Łoskot
Related to #302
mloskot added a commit to mloskot/gil that referenced this pull request Sep 26, 2019

Verified

This commit was signed with the committer’s verified signature.
mloskot Mateusz Łoskot
Split header tests accordingly i.e. test core headers as part of
core tests, numeric extension headers as part of numeric tests, etc.

It extends the convention of sub-directories already established in
`include/boost/gil` directory. It is sensible to follow it in other
areas of the source tree (i.e. `test/`, `doc/` and `benchmark/`).

Another important reason to move the tests is to enable removal of
the top-level `Jamfile` with all its definitions of test-specific
requirements.
The top-level `Jamfile` is not advised, especially if it specifies
build requirements like C++ language version.
Those affect non-tests builds e.g. documentation, causing failures
during generation of HTML documentation (leads to missing docs).

(cherry picked from develop branch commit 4ed7701)
mloskot added a commit to mloskot/gil that referenced this pull request Sep 26, 2019

Verified

This commit was signed with the committer’s verified signature.
mloskot Mateusz Łoskot
Related to boostorg#302

(cherry picked from commit 628bfc2)
mloskot added a commit to mloskot/gil that referenced this pull request Sep 26, 2019

Verified

This commit was signed with the committer’s verified signature.
mloskot Mateusz Łoskot
Split header tests accordingly i.e. test core headers as part of
core tests, numeric extension headers as part of numeric tests, etc.

It extends the convention of sub-directories already established in
`include/boost/gil` directory. It is sensible to follow it in other
areas of the source tree (i.e. `test/`, `doc/` and `benchmark/`).

Another important reason to move the tests is to enable removal of
the top-level `Jamfile` with all its definitions of test-specific
requirements.
The top-level `Jamfile` is not advised, especially if it specifies
build requirements like C++ language version.
Those affect non-tests builds e.g. documentation, causing failures
during generation of HTML documentation (leads to missing docs).

(cherry picked from develop branch commit 4ed7701)
mloskot added a commit to mloskot/gil that referenced this pull request Sep 26, 2019

Verified

This commit was signed with the committer’s verified signature.
mloskot Mateusz Łoskot
Related to boostorg#302

(cherry picked from develop branch commit 628bfc2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants