7710: add crunchrunner to gostuff
[arvados-dev.git] / jenkins / common-test-packages.sh
1 #!/bin/sh
2
3 FAIL=0
4
5 echo
6 for so in $(find . -name "*.so") ; do
7     if ldd $so | grep "not found" ; then
8         echo "^^^ Missing while scanning $so ^^^"
9         FAIL=1
10     fi
11 done
12
13 echo
14 if ! python <<EOF
15 import arvados
16 import arvados_fuse
17 print "Successly imported arvados and arvados_fuse"
18
19 import libcloud.compute.types
20 import libcloud.compute.providers
21 libcloud.compute.providers.get_driver(libcloud.compute.types.Provider.AZURE_ARM)
22 print "Successly imported compatible libcloud library"
23 EOF
24 then
25     FAIL=1
26 fi
27
28 exit $FAIL