From 675c9e84f6dd96a55b0dfb4d51fe5c1638bba3cd Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Fri, 12 Aug 2016 15:47:21 -0500 Subject: [PATCH] Show idempotency check output This patch displays the idempotency check output so that issues can be found more easily when the check fails. Change-Id: I302d6ba581da6fc454d0fa27002e2b7d74881c82 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index e619c45d..5ac1deac 100644 --- a/tox.ini +++ b/tox.ini @@ -183,7 +183,8 @@ commands = -e "install_test_packages=True" \ --skip-tag V-38462 \ {toxinidir}/tests/test.yml \ - | grep -q "changed=0.*failed=0" \ + | tee /tmp/idempotence_test_output.txt' + bash -c 'grep -q "changed=0.*failed=0" /tmp/idempotence_test_output.txt \ && (echo "Idempotence test: pass" && exit 0) \ || (echo "Idempotence test: fail" && exit 1)'