From 4da7a7ce0e80010c49a14f496c04ed296b859493 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Tue, 29 Nov 2016 22:46:56 -0800 Subject: [PATCH] Update coverage exclusions. (#18675) * Update coverage exclusions. * Fix logic error in Windows change detection. --- .coveragerc | 1 + test/utils/shippable/windows.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.coveragerc b/.coveragerc index 848e804c42..1fc35b047d 100644 --- a/.coveragerc +++ b/.coveragerc @@ -19,4 +19,5 @@ data_file = test/results/coverage/coverage omit = */python*/dist-packages/* */python*/site-packages/* + */python*/distutils */pytest diff --git a/test/utils/shippable/windows.sh b/test/utils/shippable/windows.sh index 3ef4962a7c..8b5d4c4e58 100755 --- a/test/utils/shippable/windows.sh +++ b/test/utils/shippable/windows.sh @@ -7,7 +7,7 @@ IFS='/:' read -ra args <<< "${TEST}" job="${args[1]}" -ansible-test windows-integration --explain 2>&1 | grep ' windows-integration: .* (targeted)$' > /tmp/windows.txt +ansible-test windows-integration --explain 2>&1 | { grep ' windows-integration: .* (targeted)$' || true; } > /tmp/windows.txt if [ -s /tmp/windows.txt ]; then echo "Detected changes requiring integration tests specific to Windows:"