Skip to content

Support out-of-tree checks for make check - #5225

Merged
drebelsky merged 2 commits into
stellar:masterfrom
drebelsky:fix-checks
Apr 16, 2026
Merged

drebelsky merged 2 commits into
stellar:masterfrom
drebelsky:fix-checks

Conversation

@drebelsky

@drebelsky drebelsky commented Apr 13, 2026 •

Copy link
Copy Markdown
Contributor

Resolves #5220. To support out-of-tree checks, we just use the Automake srcdir environment variable to get into the correct directory and use some basic git commands to move within the repo. Also, add check-nocstyle to CI checks.

@drebelsky
drebelsky force-pushed the fix-checks branch 2 times, most recently from 871aa3d to 34afaef Compare April 14, 2026 17:17
@drebelsky

Copy link
Copy Markdown
Contributor Author

@drebelsky
drebelsky marked this pull request as ready for review April 14, 2026 17:22
Copilot AI review requested due to automatic review settings April 14, 2026 17:22
@drebelsky
drebelsky requested a review from sisuresh April 14, 2026 17:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the check-nondet test script so it runs git grep from the source tree (via Automake’s srcdir), ensuring nondeterminism checks execute correctly in out-of-tree make check builds.

Changes:

  • Change src/test/check-nondet to cd into ${srcdir} (or .) before running git grep.

Comment thread src/test/check-nondet Resolved
sisuresh
sisuresh previously approved these changes Apr 15, 2026
@drebelsky
drebelsky force-pushed the fix-checks branch 2 times, most recently from c25138f to 17a3940 Compare April 16, 2026 16:48
@drebelsky

Copy link
Copy Markdown
Contributor Author

Confirmed CI is properly running the checks via this run on 17a3940

@drebelsky
drebelsky enabled auto-merge April 16, 2026 18:11
@drebelsky
drebelsky added this pull request to the merge queue Apr 16, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Apr 16, 2026
@drebelsky
drebelsky added this pull request to the merge queue Apr 16, 2026
Merged via the queue into stellar:master with commit 90a3e9b Apr 16, 2026
53 checks passed
@drebelsky
drebelsky deleted the fix-checks branch April 16, 2026 21:19
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.

check-nondet silently passes in CI due to git grep running outside git repository

3 participants