]> git.proxmox.com Git - ceph.git/blame - ceph/qa/run-standalone.sh
update sources to v12.1.2
[ceph.git] / ceph / qa / run-standalone.sh
CommitLineData
c07f9fc5
FG
1#!/bin/sh -ex
2
3if [ ! -e Makefile ]; then
4 echo 'run this from the build dir'
5 exit 1
6fi
7
8if [ `uname` = FreeBSD ]; then
9 # otherwise module prettytable will not be found
10 export PYTHONPATH=/usr/local/lib/python2.7/site-packages
11 exec_mode=+111
12else
13 exec_mode=/111
14fi
15
16for f in `find ../qa/standalone -perm $exec_mode -type f`
17do
18 echo '--- $f ---'
19 PATH=$PATH:bin \
20 CEPH_ROOT=.. \
21 CEPH_LIB=lib \
22 $f || exit 1
23done
24
25exit 0