]> git.proxmox.com Git - ceph.git/blob - ceph/qa/run-standalone.sh
update sources to v12.1.2
[ceph.git] / ceph / qa / run-standalone.sh
1 #!/bin/sh -ex
2
3 if [ ! -e Makefile ]; then
4 echo 'run this from the build dir'
5 exit 1
6 fi
7
8 if [ `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
12 else
13 exec_mode=/111
14 fi
15
16 for f in `find ../qa/standalone -perm $exec_mode -type f`
17 do
18 echo '--- $f ---'
19 PATH=$PATH:bin \
20 CEPH_ROOT=.. \
21 CEPH_LIB=lib \
22 $f || exit 1
23 done
24
25 exit 0