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)
Wed, Jul 15, 7:10 AM
Unknown Object (File)
Wed, Jul 15, 7:10 AM
Unknown Object (File)
Tue, Jul 14, 9:38 PM
Unknown Object (File)
Mon, Jul 13, 11:09 PM
Unknown Object (File)
Sun, Jul 5, 8:38 AM
Unknown Object (File)
Thu, Jun 25, 7:45 PM
Unknown Object (File)
Wed, Jun 24, 11:24 AM
Unknown Object (File)
Jun 9 2026, 10:53 PM
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