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:
parent
418bbea69d
commit
c6b2336f04
6
coverage
6
coverage
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user