Page MenuHomeFreeBSD

Run `make obj` before running `make test-includes`
ClosedPublic

Authored by ngie on Feb 25 2026, 6:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 18, 9:04 PM
Unknown Object (File)
Mon, May 18, 3:50 AM
Unknown Object (File)
Sun, May 17, 10:51 PM
Unknown Object (File)
Sun, May 17, 4:13 PM
Unknown Object (File)
Sun, May 17, 4:07 PM
Unknown Object (File)
Thu, May 14, 6:36 PM
Unknown Object (File)
Wed, May 13, 3:42 PM
Unknown Object (File)
Sun, May 10, 4:07 AM
Subscribers
None

Details

Summary

Before this change, make test-includes (run as part of buildworld)
would place test files in the current directory, which would clutter up
git clones. Run make obj beforehand to ensure that the files are put
in ${.OBJDIR} instead of ${.CURDIR}. This helps cut down on the
noise significantly when running commands like git status.

MFC after: 1 week

Test Plan

Running git status after running make test-includes from the top-level now shows something like the following:

% git status tools/build/test-includes 
On branch release-sh-changes
Your branch is ahead of 'freebsd/main' by 3 commits.
  (use "git push" to publish your local commits)

nothing to commit, working tree clean
%

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable