Skip to content

Features(demo): enable assertion removal and selective testing#233

Merged
rouson merged 11 commits into
mainfrom
macro-assertions
Nov 28, 2024
Merged

Features(demo): enable assertion removal and selective testing#233
rouson merged 11 commits into
mainfrom
macro-assertions

Conversation

@rouson

@rouson rouson commented Nov 28, 2024

Copy link
Copy Markdown
Contributor

No description provided.

This commit gathers the logic for setting run parameters based on
the presence of an optional value or a non-zero length character
string from which the value can be read.  The commit defines and
uses two new functions:

* default_or_internal_read
* default_or_present_value
This commit switches the assertions in demo/app programs
train-cloud-microphysics and tensor-statistics to invocations via
the Assert 2.0.0 macros, which facilitates the assertions' complete
removal when the ASSERTIONS macro is undefined or non-zero.
This commit removes the macro that effectively removed the file
demo/test/netCDF_file_test_m.F90 when building with the Intel ifx
compiler.
@rouson rouson merged commit a09d219 into main Nov 28, 2024
@rouson rouson deleted the macro-assertions branch November 28, 2024 23:40
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