From f95644470a4eabff91d9b7ef0735da7dc1b56f15 Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Thu, 20 Jun 2013 14:21:40 -0700 Subject: [PATCH] Fix unit tests to have accurate return code. Before 'tox -epy27' would not fail even if a unit test failed. Change-Id: I3ed43fdd78d0d877b93b59e2eaaf5de289a17259 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index ef07a1a48..625b43f98 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,7 @@ deps= babel commands= bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi' - bash -c 'testr run --parallel {posargs} ; RET=$? echo "Slowest Tests" ; testr slowest && exit $RET' + bash -c 'testr run --parallel {posargs} ; RET=$?; echo "Slowest Tests" ; testr slowest && exit $RET' [testenv:py26] deps=