-
Notifications
You must be signed in to change notification settings - Fork 0
update #5
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
update #5
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,6 +13,6 @@ FIND_PACKAGE(CMLIB REQUIRED) | |
| INCLUDE("${CMAKE_CURRENT_LIST_DIR}/../../../TEST.cmake") | ||
|
|
||
| TEST_RUN_AND_CHECK_OUTPUT("test_config" | ||
| WARNING_MESSAGE "CMCONF\\\\[FIRST_SYSTEM\\\\] - Overriding system name from 'FIRST_SYSTEM' to.*'SECOND_SYSTEM'" | ||
| WARNING_MESSAGE "CMCONF\\\\[OVERRIDE_SYSTEM\\\\] - Overriding system name from 'OVERRIDE_SYSTEM' to.*'ORIGINAL_SYSTEM'" | ||
| ) | ||
|
Comment on lines
15
to
17
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Warning message expectation may be misleading. The expected warning says "Overriding system name from 'OVERRIDE_SYSTEM' to 'ORIGINAL_SYSTEM'", but based on the implementation in Consider rephrasing to something like:
🤖 Prompt for AI Agents |
||
|
|
||
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.
Warning message is misleading—no override actually occurs.
When
CMCONF_SYSTEM_NAME_OVERRIDE_ALLOWED=ONand the names differ, the warning at line 207 says "Overriding system name from 'X' to 'Y'", but the system name is not changed—it remainsX. This is confusing because:Consider rewording to accurately reflect what happens:
Suggested fix
📝 Committable suggestion
🤖 Prompt for AI Agents