Skip to content

Commit 3cf73f3

Browse files
authored
tikv: fix code coverage script (#2748)
After this change we still need to wait tikv to update the rust toolchain to a newer version before this script can succeed due to rust-lang/rust#118850
1 parent b91456c commit 3cf73f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jenkins/pipelines/ci/tikv/tikv_ghpr_coverage.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ stage("Cover") {
6464
export FAIL_POINT=1
6565
export ROCKSDB_SYS_SSE=1
6666
export CARGO_INCREMENTAL=0
67-
export RUSTFLAGS="-Zinstrument-coverage"
67+
export RUSTFLAGS="-C instrument-coverage"
6868
6969
echo using gcc 8
7070
source /opt/rh/devtoolset-8/enable
7171
72-
env RUSTFLAGS="-Zinstrument-coverage" LLVM_PROFILE_FILE="tikv-%p-%m.profraw" FAIL_POINT=1 RUST_TEST_THREADS=1 EXTRA_CARGO_ARGS=--no-fail-fast make test || true
72+
env RUSTFLAGS="-C instrument-coverage" LLVM_PROFILE_FILE="tikv-%p-%m.profraw" FAIL_POINT=1 RUST_TEST_THREADS=1 EXTRA_CARGO_ARGS=--no-fail-fast make test || true
7373
"""
7474

7575
sh label: 'Post-build: Generating coverage', script: """

0 commit comments

Comments
 (0)