From 7c157863a80b1310b6cf85a432aaeb427a1b4f1e Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 24 Jul 2017 17:45:22 -0400 Subject: [PATCH] qa/run-standalone.sh: helper to run all standalone tests Nothing fancy, but documents how these are run. Signed-off-by: Sage Weil --- qa/run-standalone.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 qa/run-standalone.sh diff --git a/qa/run-standalone.sh b/qa/run-standalone.sh new file mode 100755 index 00000000000..6b944f2c77d --- /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 -- 2.39.5