Silence ctest when running for coverage

Summary:
There's no need to see the results of tests, since we are only running
ctest to generate code coverage reports.

Reviewers: buda

Reviewed By: buda

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D461
This commit is contained in:
Teon Banek 2017-06-13 11:00:14 +02:00
parent 418bbea69d
commit c6b2336f04

View File

@ -1,15 +1,15 @@
#!/bin/bash
working_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# coverage applies only on unit tests
unit_test_dir='build/tests/unit'
coverage_dir='build/coverage'
coverage_file='coverage.info'
# execute unit tests to generate coverage files
pushd ${unit_test_dir}
ctest -R unit
ctest -R unit --quiet
popd
# generate coverage info files for each unit test binary