| 123456789101112131415 |
- #!/bin/bash
- # USM test exec: run the meson test suite for Spry.
- # $1 is the build directory created by usm. Spry has no test cases
- # registered today, so this runs (and passes) with "No tests defined" —
- # verified empirically: `ninja -C build test` exits 0. When tests are
- # added and registered with meson's test() they run here automatically.
- #
- # LD_LIBRARY_PATH is scrubbed, not set: on these saddles a saddle-wide
- # /opt/usm/lib entry silently overrides the build-tree RUNPATH of test
- # binaries, making suites run against stale installed libraries instead
- # of the freshly built ones (fleet discovery #1).
- set -e
- build_dir=$1
- LD_LIBRARY_PATH= ninja -C "$build_dir" test
|