2 Commits

Author SHA1 Message Date
Rainer Gerhards
0ed0710513
testbench: bootstrap build setup for direct test runs
AI tools and newcomers often execute test scripts
without running autoreconf, configure or make. This
causes missing binaries and confusing failures.

The diag.sh stub now self-bootstraps when needed:
- Run autoreconf -fi if configure is missing.
- Run configure with testbench flags if Makefile is
  missing.
- Build tests/tcpflood and tools/rsyslogd via
  make check TESTS="".

This makes tests more robust against improper
environment setup.
2025-07-19 14:15:21 +02:00
Rainer Gerhards
15796f1047
testbench: add root-level diag.sh stub and simplify test invocation
- Introduce root-level diag.sh stub to auto-forward to tests/diag.sh, preventing
  human and AI errors when sourcing the harness and removing the need to `cd`
  into the tests directory.
- Update AGENTS.md to configure once and invoke tests via `./tests/<script>.sh`,
  providing unfiltered stdout/stderr without a CI wrapper and improving
  convenience for human developers.
2025-06-21 14:46:36 +02:00