From 39c3fb12032f113687bf1ef23fc34ddbaaef8b3d Mon Sep 17 00:00:00 2001 From: John Vrbanac Date: Sat, 13 Sep 2014 15:12:58 -0500 Subject: [PATCH] Modifying testr conf to suppress output Testr pumps out a lot of output to the screen even with successful tests. Other OpenStack projects solve this by modifying their testr config to force stdout and stderr capture similar to other testing frameworks. For this change, I have copied how Nova handles this. Change-Id: Ie6fb60585a632e09fef068f768c6b6fde10017f0 --- .testr.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.testr.conf b/.testr.conf index f45a334eb..03663a7b4 100644 --- a/.testr.conf +++ b/.testr.conf @@ -1,5 +1,7 @@ [DEFAULT] -test_command=${PYTHON:-python} -m subunit.run discover -s ./barbican -t . $LISTOPT $IDOPTION +test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ + OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ + ${PYTHON:-python} -m subunit.run discover -s ./barbican -t . $LISTOPT $IDOPTION test_id_option=--load-list $IDFILE test_list_option=--list