]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: make run-standalone work on FreeBSD 16595/head
authorWillem Jan Withagen <wjw@digiware.nl>
Wed, 26 Jul 2017 10:01:37 +0000 (12:01 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Wed, 26 Jul 2017 10:01:37 +0000 (12:01 +0200)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
qa/run-standalone.sh

index 6b944f2c77d779655ebf1340dd4fa0b05cff7d6e..4d3e8c7ba91523d245f4b35ba2039999d5c05da9 100755 (executable)
@@ -5,7 +5,12 @@ if [ ! -e Makefile ]; then
     exit 1
 fi
 
-for f in `find ../qa//standalone -executable -type f`
+if [ `uname` = FreeBSD ]; then
+  # otherwise module prettytable will not be found
+  export PYTHONPATH=/usr/local/lib/python2.7/site-packages
+fi
+
+for f in `find ../qa/standalone -perm +111 -type f`
 do
     echo '--- $f ---'
     PATH=$PATH:bin \