This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MIG".
The branch, master has been updated
via f29ab50fa90365ddca025c57af19c7f2ffc31e86 (commit)
from d27138506196f2fba644568d596851208db4abca (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f29ab50fa90365ddca025c57af19c7f2ffc31e86
Author: Paulo Duarte <[email protected]>
Date: Sun May 24 03:07:36 2026 +0100
tests: honour external CFLAGS in test_lib.sh
The test harness hardcoded CFLAGS="-I$TEST_DIR/includes", overwriting
any externally-supplied CFLAGS. That works on a Hurd development box
(or any host with Mach userland headers installed under standard
search paths) but breaks `make check` on every other host: the
generated stubs `#include <mach/boolean.h>` etc., and the test
includes/ tree only ships `mach/mig_support.h` â the rest were
implicitly expected to come from the system's installed Mach
headers.
Append rather than overwrite, so cross-build users can supply their
target's installed Mach headers via the standard CFLAGS env var:
make check CFLAGS="-I/path/to/dist/include"
Test-suite stubs still take precedence (they come first on the
include path), so any test relying on a stub definition is
unaffected.
Verified by running `make check` on macOS aarch64 with a freshly
installed gnumach header tree â all 7 tests in tests/good/ now
pass; bad/ and generate-only/ behaviour unchanged.
Message-ID: <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
tests/test_lib.sh | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
hooks/post-receive
--
MIG