| 123456789101112 |
- #!/bin/bash
- set -e
- # Runs the test suite inside an already-built tree. ninja's test target
- # exits 0 even when no tests are defined, so this stays uniform across
- # the family. $1 is the build directory (set by usm).
- #
- # LD_LIBRARY_PATH is scrubbed: a system-wide path here (e.g. /opt/usm/lib)
- # takes precedence over the build tree's RUNPATH and silently links the
- # tests against a stale installed copy of the library instead of the one
- # just built — failures then reflect the old lib, not this source.
- LD_LIBRARY_PATH= ninja -C "$1" test
|