From 3054c9cddeba31560a950050d9318a2f7c432716 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Tue, 21 Nov 2017 10:20:40 -0500 Subject: [PATCH] log output of validate-requests separately Make the validate job log to a separate file like list-changes does so we can find the output more easily instead of reading through all of the zuul output. Change-Id: Ib5286384aca2b126b9cad93084aaef873883d20a Signed-off-by: Doug Hellmann --- tox.ini | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 72a963a87a..48286f4353 100644 --- a/tox.ini +++ b/tox.ini @@ -12,6 +12,7 @@ install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} PYTHONUNBUFFERED=1 + LOGDIR={envdir}/log basepython = python3 deps = -r{toxinidir}/test-requirements.txt commands = @@ -23,12 +24,9 @@ deps = yamllint==1.4.1 commands = {toxinidir}/tools/run_yamllint.sh - validate-request {posargs} + {toxinidir}/tools/tox-log-command.sh validate-request {posargs} [testenv:list-changes] -setenv = - PYTHONUNBUFFERED=1 - LOGDIR={envdir}/log commands = {toxinidir}/tools/tox-log-command.sh list-changes {posargs}