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