-
Notifications
You must be signed in to change notification settings - Fork 7
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
Test with Julienne #169
Open
rouson
wants to merge
31
commits into
main
Choose a base branch
from
test-with-julienne
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Test with Julienne #169
Changes from 14 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
f4cb506
test(main): switch to julienne
rouson 7ebab05
chore(fpm.toml): switch dev-dependencies
rouson 1d87e74
chore(test): preprocess test main
rouson d70e76c
fix(test/main): always call prif_init
rouson b0354e1
test(stopis): def new project to test termination
rouson b425d2f
doc(test-termination): update README.md
rouson ad8f546
doc(test-termination): update README.md
rouson 435d148
rm(co_reduce_test): rm temporary code
rouson ce8aa06
test: extend test_t, override report binding
rouson c2b765f
fix(co_min_test): simplify logic
rouson 3f26d78
fix(com_max_test): borrow logic from co_min_test
rouson dec2d23
fix(co_reduce_test): improve logic
rouson 7268613
refac(prif_test_s): make co_all impure elemental
rouson 2ffdbb6
chore(prif_test_s): rm redundant logic in report
rouson 7ce33b7
doc(test-termination/README): specify environment
rouson 3b5c974
build(test-terminatio): add fpm.toml file
rouson dd3fb3a
build: rm external assert lib dependence
rouson 00ae2b3
chore: rm unused parameter declarations
rouson 6d03002
test(co_reduce): fix standard violations
rouson 9ae13e9
test(this_image): report diagnostics if test fails
rouson 1da811b
test(num_images): report diagnostics if test fails
rouson 9ab0a7f
test(init): report diagnostics if test fails
rouson 5cc1538
test(image_index): report diagnostics for failures
rouson 9341364
test(co_broadcast):report diagnostics for failures
rouson a529490
test(co_sum): report diagnostics for test failures
rouson 277c746
test(co_min): report diagnostics for test failures
rouson b3e90e5
test(co_max): report diagnostics for test failures
rouson d70134e
test(teams): report diagnostics for test failures
rouson e892ce2
test(rma): report diagnostics for test failures
rouson 8a74c08
build(fpm): upgrade dependency to julienne 1.7.0
rouson fcf2fa8
test(co_reduce): report test failure diagnostics
rouson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ maintainer = "[email protected]" | |
copyright = "2021-2024 UC Regents" | ||
|
||
[dev-dependencies] | ||
veggies = {git = "https://gitlab.com/everythingfunctional/veggies", tag = "v1.1.3"} | ||
iso_varying_string = {git = "https://gitlab.com/everythingfunctional/iso_varying_string.git", tag = "v3.0.4"} | ||
julienne = {git = "https://github.com/berkeleylab/julienne.git", tag = "1.5.3"} | ||
assert = {git = "https://github.com/berkeleylab/assert.git", tag = "2.0.0"} | ||
|
||
[build] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Test Termination | ||
---------------- | ||
The code in this subdirectory intentionally terminate to test the following | ||
procedures and interface from prif.F90: | ||
- `prif_error_stop` | ||
- `prif_register_stop_callback` | ||
- `prif_stop_callback_interface` | ||
- `prif_stop` | ||
|
||
Usage | ||
----- | ||
To build or rebuild and run the tests in this subdirectory, execute the following | ||
commands: | ||
``` | ||
fpm clean --all | ||
cd .. | ||
./install.sh | ||
cd - | ||
mkdir build | ||
cp ../build/run-fpm.sh build | ||
../build/run-fpm.sh test | ||
``` | ||
which should yield trailing output similar to the following: | ||
``` | ||
ERROR STOP 'USER_PROVIDED_STRING' | ||
callback invoked | ||
STOP | ||
STOP 'USER_PROVIDED_STRING' | ||
STOP 99 | ||
STOP | ||
<ERROR> Execution for object " error_stop_with_character_code " returned exit code 1 | ||
<ERROR> Execution for object " error_stop_with_integer_code " returned exit code 100 | ||
<ERROR> Execution for object " error_stop_with_no_code " returned exit code 1 | ||
<ERROR> Execution for object " stop_with_integer_code " returned exit code 99 | ||
<ERROR> *cmd_run*:stopping due to failed executions | ||
STOP 1 | ||
``` |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we are adding a project dependence on berkeleylab/assert (which I DO support), then we should also excise the current
caffeine_assert_s
module which was added as a temporary workaround for a lack of a real assertion library.However this change is also orthogonal to the Julienne transition and feels like it belongs in a separate PR.