Skip to content

BREAKING: remove vector_test_description t - #88

Closed
rouson wants to merge 37 commits into
mainfrom
BREAKING-rm-vector_test_description_t
Closed

BREAKING: remove vector_test_description t#88
rouson wants to merge 37 commits into
mainfrom
BREAKING-rm-vector_test_description_t

Conversation

@rouson

@rouson rouson commented Aug 11, 2025

Copy link
Copy Markdown
Contributor

This PR prepares for moving the test-filtering logic to one central location in test_description_s rather than having versions of the logic distributed across all tests. Because the deprecated vector_test_description_t is convoluted due to preprocessor directives, extracting the filter from that file would be challenging, which motivates the removal. This is a breaking change for any codes that use vector_test_description_t.

rouson and others added 30 commits August 9, 2025 07:16
This commit introduces the test_harness_t and test_fixture_t
derived types and uses them to refactor and simplify the test-suite
driver program: test/main.F90.
This commit reduces the amount of code that end users must write
by moving the reporting of the final tally of test passes, test
count, and skipped tests to the test_harness_t's "report"
type-bound procedure.
This commit the code that checks whether the test suite is running
in GitHub CI and checks whether the user requested to run the
command_line_t tests.  The code is moved from the test-suite driver
to the actual test, which further simplifies the test-suite main
program.
This commit adds a binary operator that produces a test_diagnosis_t
result when applied to a logical operand.
Caveat: The newly refactored test/main.f90 program causes an ICE
with gfortran 13.4.
move pointer declarations & definitions outside a block construct
rouson added 7 commits August 10, 2025 21:46
also delete redundant example
Also switch file to lower-case .f90 extension because the
preprocessor is no longer needed.
This commit prepares for moving the test-filtering logic to one
central location in test_description_s rather than having versions
of the logic distributed across all tests.  Because the
deprecated vector_test_description_t is convoluted due to
preprocessor  directives, extracting the filter from that file
would be challenging, which motivates the removal.  This is a
breaking change for any codes that use vector_test_description_t.
@rouson

rouson commented Aug 13, 2025

Copy link
Copy Markdown
Contributor Author

This is superseded by PR #91.

@rouson rouson closed this Aug 13, 2025
@rouson
rouson deleted the BREAKING-rm-vector_test_description_t branch August 23, 2025 22:18
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.

1 participant