Files
mars-nwe/tests/fake/README.md
2026-06-14 08:24:17 +02:00

25 lines
703 B
Markdown

# Local fake system dependencies
This directory contains tiny GDBM and PAM header/library stubs for compile-only
local test builds. They are intentionally not wired into the CMake project.
Build them explicitly when a local sandbox does not have usable system GDBM or
PAM development packages:
```sh
./tests/fake/bin/build-fake-system-deps.sh
```
The script prints CMake cache arguments such as:
```sh
-DGDBM_INCLUDE_DIR=...
-DGDBM_LIBRARY=...
-DPAM_INCLUDE_DIR=...
-DPAM_LIBRARY=...
```
Pass those arguments to a local CMake configure command. Do not use these stubs
for runtime testing; they only make compile/link checks possible for tools that
are not exercised in the local test environment.