diff --git a/tox.ini b/tox.ini index 31b405cac..3a5d209b4 100644 --- a/tox.ini +++ b/tox.ini @@ -56,7 +56,7 @@ commands = {toxinidir}/tools/update-test-platforms.py bash -c "(( $(find playbooks -name *.yml | wc -l) == 0)) || \{ echo 'Use .yaml'; exit 1; \}" bash -c "(( $(find roles -name *.yml | wc -l) == 0)) || \{ echo 'Use .yaml'; exit 1; \}" - bash -c "git diff --quiet || \{ git status --porcelain; echo 'ERROR: git in dirty status, reporting as failure'; exit 1; \}" + bash -c "git diff; git diff --quiet || \{ git status; echo 'ERROR: The commited content and the via update-test-platforms.py autogenerated content differ. Make sure these are the same.'; exit 1; \}" [testenv:venv] commands = {posargs}