Skip to content

Conversation

@rouson
Copy link
Owner

@rouson rouson commented Nov 18, 2025

No description provided.

rouson and others added 25 commits November 13, 2025 18:23
This commit adds a test-suite driver, test/julienne/driver.f90,
with supporting tests for the following subroutines:

- prif_co_broadcast
- prif_co_min
- prif_co_max
- prif_image_queries
- prif_init
- prif_num_images
- prif_this_image_no_coarray
- prif_sync_images

All new tests are in test/julienne.  All tests pass.

TODO: restrict output to image 1

chore: rm redundant tests

This commit removes veggies tests for the following subroutines
because they are now redundant with the correspondiong julienne
tests added in a prior commit:

-  prif_co_broadcast
-  prif_co_max
-  prif_co_min
-  prif_image_queries
-  prif_num_images
-  prif_sync_images
-  prif_this_image

This commit retains the redundant prif_init test becuase it is
presumalby needed for the proper launch of the veggies tests.

build(fpm.toml.template): add Julienne 3.0.0 dep

test(co_sum): add julienne test, rm veggies test

test(co_reduce): add julienne test|rm veggies test

chore: non_overridable test_t child type-bnd-procs

fix(image_queries_test): add closing parens

test: add prif_coarray_inquiry_test_m

fix: rm binary

chore: rm veggies prif_coarray_inquiry_test

fix(test/julienne): support GCC 13 - 14.2

chore: rm reference to deleted veggies test

chore: rm partially complete julienne test

build(include): fix macro logic/syntax

test(julienne): append to diagnostics strings

This commit appends the text from veggies assertions  "message"
argument to test diagnoses in the corresponding Julienne tests.
For example, a veggies assertion of the form

assert_equals(actual, expected, message)

becomes a Julienne test diagnosis of the following form:

(actual .equalsExpected. expected) // message

Remove inadvertently added GASNet install trees

Remove some stray programs

Rename file to match Caffiene source file naming conventions

(See docs/README-maintainers.md)

test(julienne): fix GCC 13-14.2 workaround

Rename test files back to their original location, for ease of PR review and maintenance

There are zero code changes in this commit
This header is no longer relevant to the test code
Minimize extraneous verbiage in subject() strings to make the output easier to visually skim

None of the PRIF procedures are functions, and the function/subroutine distinction is irrelevant in test output
This abbreviation helps with readability, especially for the incremental
test idiom (ie. `test_diagnosis = test_diagnosis .also. `).

Restore line break conventions used in the incremental test idiom,
which emphasizes readability of the relevant expression.

Replace `.expect. .true.` with the shorter idiom in newer Julienne
Prefer 64-bit comparison for any use case where a truncating conversion
could plausibly mask a defect.

Also, use native kind real comparison whenever possible.
Reorder unit-testing to roughly start from the simplest and most fundamental
features, as these are assumed to work correctly by later tests of more
complicated features.
This commit reorders the tests to match the test-execution ordering
of commit 6db489: roughly simplest to most complicated.
@bonachea
Copy link
Collaborator

This PR is subsumed by BerkeleyLab#274

@bonachea bonachea closed this Dec 10, 2025
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