Skip to content

BUG: Silently pass NumericLocale test when locale unavailable#5936

Draft
hjmjohnson wants to merge 1 commit intoInsightSoftwareConsortium:mainfrom
hjmjohnson:silence-test-not-run
Draft

BUG: Silently pass NumericLocale test when locale unavailable#5936
hjmjohnson wants to merge 1 commit intoInsightSoftwareConsortium:mainfrom
hjmjohnson:silence-test-not-run

Conversation

@hjmjohnson
Copy link
Member

Summary

  • Replace GTEST_SKIP() with a silent pass in NumericLocale.WorksWithDifferentInitialLocale when de_DE.UTF-8 is not available
  • GTEST_SKIP reports the test as "not run" on CDash, generating warnings on the majority of CI configurations that lack this locale

Test plan

  • Verify the test still passes when de_DE.UTF-8 is available
  • Verify CDash no longer reports the test as "not run" on systems without the locale

🤖 Generated with Claude Code

@github-actions github-actions bot added type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances type:Testing Ensure that the purpose of a class is met/the results on a wide set of test cases are correct area:Core Issues affecting the Core module labels Mar 12, 2026
Copy link
Member

@dzenanz dzenanz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to update this test to try multiple European locales. But that is orthogonal to these changes.

@blowekamp
Copy link
Member

is test to try multiple European locales. But that is orthogonal to these changes.

It is surprising how many system do not have this locale installed. I am not sure how these locale installation works on all these systems, but making this test silently pass with out testing any locale is going to give a false since of coverage.

Is there another locale that is more widely available that could be used for testing?

@blowekamp blowekamp self-requested a review March 13, 2026 14:03
Copy link
Member

@blowekamp blowekamp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am working on a PR to install this locale in the CI.

See #5941

@hjmjohnson hjmjohnson force-pushed the silence-test-not-run branch from 0a96337 to f9575ec Compare March 13, 2026 22:34
@github-actions github-actions bot added the area:Video Issues affecting the Video module label Mar 13, 2026
Replace GTEST_SKIP() with a silent pass when de_DE.UTF-8 is not
available. GTEST_SKIP reports the test as "not run" on CDash,
generating warnings on the majority of CI configurations that
lack this locale.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@hjmjohnson hjmjohnson force-pushed the silence-test-not-run branch from f9575ec to 46bb867 Compare March 13, 2026 23:48
@github-actions github-actions bot removed the area:Video Issues affecting the Video module label Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Core Issues affecting the Core module type:Bug Inconsistencies or issues which will cause an incorrect result under some or all circumstances type:Testing Ensure that the purpose of a class is met/the results on a wide set of test cases are correct

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants