From f48fc39db434302488d0197d916cbbe0a7f61768 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Thu, 31 Aug 2017 17:43:32 -0400 Subject: [PATCH] Add update-expected-xml call Simplify the process of updating the expected-xml by adding a command to tox. Change-Id: I02a9f07272baab3fd0dd4407cdb0afb3ffd6e3c7 Signed-off-by: Thanh Ha --- tox.ini | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index a6d47a86..d5b6baec 100644 --- a/tox.ini +++ b/tox.ini @@ -20,7 +20,7 @@ commands = deps = jenkins-job-builder commands = - jenkins-jobs -l DEBUG test --recursive -o {toxinidir}/archives/job-configs {toxinidir}:.jjb-test + jenkins-jobs -l DEBUG test --recursive -o {toxinidir}/archives/job-configs {toxinidir}/jjb:{toxinidir}/.jjb-test [testenv:jjb-compare-xml] deps = @@ -31,3 +31,10 @@ commands = [testenv:license] deps = lftools commands = lftools license check-dir -r '.+' shell + +[testenv:update-expected-xml] +deps = + jenkins-job-builder +commands = + jenkins-jobs test --recursive -o {toxinidir}/.jjb-test/expected-xml {toxinidir}/jjb:{toxinidir}/.jjb-test + -- 2.16.6