From: Sage Weil Date: Mon, 24 Jul 2017 21:45:22 +0000 (-0400) Subject: qa/run-standalone.sh: helper to run all standalone tests X-Git-Tag: v12.1.2~126^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7c157863a80b1310b6cf85a432aaeb427a1b4f1e;p=ceph.git qa/run-standalone.sh: helper to run all standalone tests Nothing fancy, but documents how these are run. Signed-off-by: Sage Weil --- diff --git a/qa/run-standalone.sh b/qa/run-standalone.sh new file mode 100755 index 000000000000..6b944f2c77d7 --- /dev/null +++ b/qa/run-standalone.sh @@ -0,0 +1,17 @@ +#!/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