ceph/qa/run-standalone.sh
Sage Weil 7c157863a8 qa/run-standalone.sh: helper to run all standalone tests
Nothing fancy, but documents how these are run.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-24 22:11:50 -04:00

18 lines
255 B
Bash
Executable File

#!/bin/sh -ex
if [ ! -e Makefile ]; then
echo 'run this from the build dir'
exit 1
fi
for f in `find ../qa//standalone -executable -type f`
do
echo '--- $f ---'
PATH=$PATH:bin \
CEPH_ROOT=.. \
CEPH_LIB=lib \
$f || exit 1
done
exit 0