From ada360d2de594bb9b882f45e04bf91d057cb6176 Mon Sep 17 00:00:00 2001 From: Maru Newby Date: Tue, 9 Apr 2013 02:33:03 +0000 Subject: [PATCH] Allow pdb debugging in manually-invoked tests. * The old behavior required setting environment variables to disable capture of stdout and stderr to allow debugging via pdb. The new behavior requires enabling capture of stdout/stderr instead. This is already the case in nova. * testr behavior is unmodified. * Tip 'o the hat to Robert Collins (lifeless) Change-Id: Ica021eeab07d5a540ce42436c9cc8000c3fd239a --- .testr.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.testr.conf b/.testr.conf index 9339183aa..54f82b362 100644 --- a/.testr.conf +++ b/.testr.conf @@ -1,4 +1,4 @@ [DEFAULT] -test_command=${PYTHON:-python} -m subunit.run discover -t ./ quantum/tests/unit $LISTOPT $IDOPTION +test_command=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ quantum/tests/unit $LISTOPT $IDOPTION test_id_option=--load-list $IDFILE test_list_option=--list