Skip to content

test: check_ctype greps the moved src folder - #560

Merged
Jamiras merged 1 commit into
RetroAchievements:developfrom
scullymi:fix-check-ctype
Oct 11, 2026
Merged

Jamiras merged 1 commit into
RetroAchievements:developfrom
scullymi:fix-check-ctype

Conversation

@scullymi

Copy link
Copy Markdown
Contributor

Since #552 moved the Makefile to test/client, check_ctype greps ../src/*, which no longer exists. grep fails, the if reads that as no match, and the check passes without looking at any file. With a deliberate isalpha(c) added to src/util/rc_util.c it still reports success.

It now uses $(RC_SRC). The current sources pass, and the deliberate isalpha(c) is caught.

Since the Makefile moved to test/client, ../src/* no longer exists. grep failed, the if read that as no match, and the check passed without looking at any file.
@Jamiras Jamiras added this to the 13.0 milestone Oct 11, 2026
@Jamiras
Jamiras merged commit 116d018 into RetroAchievements:develop Oct 11, 2026
7 checks passed
@scullymi
scullymi deleted the fix-check-ctype branch October 11, 2026 13:39
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.

2 participants