From e4a1622f538e68415758f51b22af6bc03be0fdfb Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Tue, 26 Apr 2016 07:21:36 -0700 Subject: [PATCH] Do not check docker or azure module_utils code for py2.4 compat (the libs require py2.6+) --- test/utils/run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utils/run_tests.sh b/test/utils/run_tests.sh index 214b1c827c..8be9102dc1 100755 --- a/test/utils/run_tests.sh +++ b/test/utils/run_tests.sh @@ -8,7 +8,7 @@ if [ "${TARGET}" = "sanity" ]; then ./test/code-smell/boilerplate.sh ./test/code-smell/required-and-default-attributes.sh if test x"$TOXENV" != x'py24' ; then tox ; fi - if test x"$TOXENV" = x'py24' ; then python2.4 -V && python2.4 -m compileall -fq -x 'module_utils/(a10|rax|openstack|ec2|gce).py' lib/ansible/module_utils ; fi + if test x"$TOXENV" = x'py24' ; then python2.4 -V && python2.4 -m compileall -fq -x 'module_utils/(a10|rax|openstack|ec2|gce|docker_common|azure_rm_common).py' lib/ansible/module_utils ; fi else export C_NAME="testAbull_$$_$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 8 | head -n 1)" docker pull ansible/ansible:${TARGET}