test.sh 464 B

123456789101112
  1. #!/bin/bash
  2. # USM test exec: run the Statum test suite (registered with meson test).
  3. # $1 is the build directory created by usm.
  4. #
  5. # LD_LIBRARY_PATH is scrubbed, not set: on these saddles a saddle-wide
  6. # /opt/usm/lib entry silently overrides the build-tree RUNPATH of the
  7. # test binary, making the suite run against a stale installed library
  8. # instead of the freshly built one (fleet discovery #1).
  9. set -e
  10. build_dir=$1
  11. LD_LIBRARY_PATH= ninja -C "$build_dir" test