From 3c954b62643a3c645d7172b47b0582599606cc29 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 25 Aug 2011 15:35:53 -0700 Subject: Enable -Wd for tests, so DeprecationWarning works DeprecationWarning is suppressed by default since Python 2.7, so it's a good idea to explicitly enable it for tests. --- runtests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtests.sh') diff --git a/runtests.sh b/runtests.sh index 11aec60f5..981fa1ec2 100755 --- a/runtests.sh +++ b/runtests.sh @@ -28,7 +28,7 @@ exit_status="0" for version in ${PYTHON_VERSIONS}; do if [[ -x /usr/bin/python${version} ]]; then echo -e "${GOOD}Testing with Python ${version}...${NORMAL}" - if ! /usr/bin/python${version} pym/portage/tests/runTests "$@" ; then + if ! /usr/bin/python${version} -Wd pym/portage/tests/runTests "$@" ; then echo -e "${BAD}Testing with Python ${version} failed${NORMAL}" exit_status="1" fi -- cgit v1.2.3-1-g7c22