Skip to content

Commit

Permalink
Merge pull request #32 from BerkeleyLab/workaround-nagfor
Browse files Browse the repository at this point in the history
test(test_description_t): temp nagfor workaround
  • Loading branch information
rouson authored Jan 6, 2025
2 parents 118d811 + 04d7aab commit 75d5945
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions test/test_description_test.F90
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,14 @@ function check_substring_search() result(tests_pass)
,test_description_t("nothing to see here" , unused) &
]
tests_pass = [ &
test_descriptions(1)%contains_text(string_t("example") ) &
, test_descriptions(2)%contains_text( "example" ) &
,.not. test_descriptions(3)%contains_text(string_t("missing string")) &
,.not. test_descriptions(4)%contains_text( "missing string" ) &
#ifndef NAGFOR
test_descriptions(1)%contains_text(string_t("example") ), &
#endif
test_descriptions(2)%contains_text( "example" ), &
#ifndef NAGFOR
.not. test_descriptions(3)%contains_text(string_t("missing string")), &
#endif
.not. test_descriptions(4)%contains_text( "missing string" ) &
]
end function

Expand Down

0 comments on commit 75d5945

Please sign in to comment.