Skip to content

Refactor Unicode tests - #2889

Merged
nlohmann merged 4 commits into
developfrom
fix_ci
Jul 21, 2021
Merged

nlohmann merged 4 commits into
developfrom
fix_ci

Conversation

@nlohmann

@nlohmann nlohmann commented Jul 21, 2021 •

Copy link
Copy Markdown
Owner

This PR splits the large Unicode test suite into 5 smaller ones to allow for parallel execution. Furthermore, some static variables reduce the number of required allocations.

@nlohmann nlohmann self-assigned this Jul 21, 2021
@nlohmann
nlohmann marked this pull request as draft July 21, 2021 12:04
@coveralls

coveralls commented Jul 21, 2021 •

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling c05be30 on fix_ci into 03270ef on develop.

@nlohmann
nlohmann marked this pull request as ready for review July 21, 2021 17:44
@nlohmann nlohmann added this to the Release 3.9.2 milestone Jul 21, 2021
@nlohmann
nlohmann merged commit eba82ec into develop Jul 21, 2021
@nlohmann
nlohmann deleted the fix_ci branch July 21, 2021 19:17
harry75369 pushed a commit to harry75369/json that referenced this pull request Aug 8, 2021
* ♻️ split Unicode tests
nlohmann added a commit that referenced this pull request Sep 27, 2026
The Unicode tests were split into five files (#2889) so they could run
in parallel. After #5418 they take ~20 s together (unoptimized), so one
file is enough. This removes four copies of the check helpers and the
progress output, whose hard-coded totals were stale, and drops
doctest::skip() so JSON_FastTests configurations run them too. The
raised timeout for test-unicode4 is no longer needed.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
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.

2 participants