Refactor tests into jjb-tests directory
[releng/global-jjb.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index c27b363..06424c0 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
 [tox]
 minversion = 1.6
-envlist = coala,jjb,license
+envlist = coala,jjb,jjb-compare-xml,license
 skipsdist = true
 
 [testenv:coala]
@@ -20,12 +20,13 @@ commands =
 deps =
     jenkins-job-builder
 commands =
-    cp test.template {toxinidir}/jjb/test.yaml
-    jenkins-jobs -l DEBUG test --recursive -o {toxinidir}/archives/job-configs {toxinidir}/jjb/
-    rm {toxinidir}/jjb/test.yaml
-whitelist_externals =
-    cp
-    rm
+    jenkins-jobs -l DEBUG test --recursive -o {toxinidir}/archives/job-configs {toxinidir}
+
+[testenv:jjb-compare-xml]
+deps =
+    jenkins-job-builder
+commands =
+    ./jjb-compare-xml.sh
 
 [testenv:license]
 deps = lftools