From eb4f852916a0e5767fbd95ba23f71a2db1b6ef7e Mon Sep 17 00:00:00 2001 From: Ben Patterson Date: Mon, 2 Mar 2015 11:27:31 -0500 Subject: [PATCH] Pipe complexity report to reports dir. --- scripts/all-tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/all-tests.sh b/scripts/all-tests.sh index 3a6ee2ec44..5d3874f000 100755 --- a/scripts/all-tests.sh +++ b/scripts/all-tests.sh @@ -80,10 +80,10 @@ case "$TEST_SUITE" in # Run quality task. Pass in the 'fail-under' percentage to diff-quality paver run_quality -p 100 - paver run_complexity > code_complexity.log || echo "Unable to calculate code complexity. Ignoring error." + mkdir -p reports + paver run_complexity > reports/code_complexity.log || echo "Unable to calculate code complexity. Ignoring error." # Need to create an empty test result so the post-build # action doesn't fail the build. - mkdir -p reports cat > reports/quality.xml <