# HG changeset patch # User Denis Laxalde # Date 1474617070 -7200 # Node ID d2fcd81b7ca9ad0efa3df09cef1a69182c1c2413 # Parent 28311db7a2a5996e05bb3087306d6840e32a54fb [tox] Add a dummy test-results.xml file in check-manifest and flake8 environments This is to work around Jenkins Junit plugin that does not apparently account for the absence of this file (though it accepts it to be empty). diff -r 28311db7a2a5 -r d2fcd81b7ca9 .hgignore --- a/.hgignore Fri Sep 23 09:50:16 2016 +0200 +++ b/.hgignore Fri Sep 23 09:51:10 2016 +0200 @@ -22,3 +22,4 @@ ^doc/book/en/devweb/js_api/ ^doc/_build ^doc/js_api/ +test-results.xml diff -r 28311db7a2a5 -r d2fcd81b7ca9 tox.ini --- a/tox.ini Fri Sep 23 09:50:16 2016 +0200 +++ b/tox.ini Fri Sep 23 09:51:10 2016 +0200 @@ -45,7 +45,10 @@ skip_install = true deps = flake8 >= 3 -commands = flake8 {posargs:{toxinidir}} +commands = + flake8 {toxinidir} +# So that Jenkins JUnit plugin does not complain about missing XML results. + touch test-results.xml [testenv:doc] changedir = doc @@ -63,6 +66,8 @@ # ignore symlinks that are not recognized by check-manifest, see # https://github.com/mgedmin/check-manifest/issues/69 --ignore cubicweb/devtools/test/data/cubes/i18ntestcube,cubicweb/test/data/legacy_cubes* +# So that Jenkins JUnit plugin does not complain about missing XML results. + touch test-results.xml [pytest] python_files = *test_*.py