Repository navigation
Disable nagfor constant propagation for new tests - #1438
Merged
Merged
Conversation
… SQRT(-RONE) or Inf via 1/RZERO.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1438 +/- ##
=======================================
Coverage 69.70% 69.70%
=======================================
Files 6200 6200
Lines 496985 496985
Branches 23426 23426
=======================================
Hits 346399 346399
Misses 150163 150163
Partials 423 423
Continue to review full report in Codecov by Harness.
|
langou
approved these changes
Oct 22, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
#1384 and #1387 added error-exit tests that make an Inf with
1/RZERO([sd]errst.f) and a NaN withSQRT(-RONE)([sdcz]errbd.f). nagfor evaluates these expressions at compile time and rejects the result:Fix
CMAKE/LAPACKTestHelpers.cmake: adderrbdanderrstto the file-name pattern inlapack_nag_disable_constant_propagation. That helper already builds the LIN tests that make NaNs (?errcxx,?chksp,?chkhp) with-Onopropagateunder NAG, and it does nothing for other compilers.TESTING/EIG/CMakeLists.txt: call the helper fromadd_eig_executableon both the default sources and the generated_64sources.