Skip to content

Commit

Permalink
#2291: Temporary disable unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thearusable committed Jun 20, 2024
1 parent 6144129 commit 40d9c21
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions ci/test_cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ export VT_BUILD=${build_dir}/vt
pushd "$VT_BUILD"

# Don't run performance tests here (use label 'unit_test' or 'example')
ctest --output-on-failure -L 'unit_test|example' | tee cmake-output.log
# ctest --output-on-failure -L 'unit_test|example' | tee cmake-output.log

if test "${VT_CODE_COVERAGE:-0}" -eq 1
then
export CODECOV_TOKEN="$CODECOV_TOKEN"
lcov --capture --directory . --output-file coverage.info
lcov --remove coverage.info '/usr/*' --output-file coverage.info
lcov --list coverage.info
pushd "$VT"
bash <(curl -s https://codecov.io/bash) -f "${VT_BUILD}/coverage.info" || echo "Codecov did not collect coverage reports"
popd
fi
# if test "${VT_CODE_COVERAGE:-0}" -eq 1
# then
# export CODECOV_TOKEN="$CODECOV_TOKEN"
# lcov --capture --directory . --output-file coverage.info
# lcov --remove coverage.info '/usr/*' --output-file coverage.info
# lcov --list coverage.info
# pushd "$VT"
# bash <(curl -s https://codecov.io/bash) -f "${VT_BUILD}/coverage.info" || echo "Codecov did not collect coverage reports"
# popd
# fi

if test "${TEST_LB_SCHEMA:-0}" -eq 1
then
Expand Down

0 comments on commit 40d9c21

Please sign in to comment.