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
This commit is contained in:
parent
ada968e162
commit
39c3fb1203
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user