3 if test "$1" = --run-test ; then
5 if test -z "$WORKSPACE" ; then
6 echo "Must set WORKSPACE"
12 --volume=$WORKSPACE/packages/centos6:/mnt \
13 --volume=$(readlink -f $0):/root/run-test.sh \
16 /root/run-test.sh --install-scl
19 if test "$1" = --install-scl ; then
20 yum install --assumeyes scl-utils
21 curl -L -O https://www.softwarecollections.org/en/scls/rhscl/python27/epel-6-x86_64/download/rhscl-python27-epel-6-x86_64.noarch.rpm
22 yum install --assumeyes rhscl-python27-epel-6-x86_64.noarch.rpm
23 yum install --assumeyes python27
24 exec scl enable python27 $0
27 yum install --assumeyes python27-python*.rpm
32 for r in /mnt/python27-python-*x86_64.rpm ; do
33 rpm2cpio $r | cpio -idm
38 for so in $(find . -name "*.so") ; do
39 if ldd $so | grep "not found" ; then
40 echo "^^^ Missing while scanning $so ^^^"