File tree 2 files changed +3
-7
lines changed
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -8,19 +8,15 @@ rustup component add llvm-tools
8
8
cargo install grcov
9
9
10
10
export RUSTFLAGS=" -Cinstrument-coverage"
11
- if [ " $( uname -o) " = " Darwin" ]; then
12
- export RUSTFLAGS=" -Clink-arg=-Wl,-undefined,dynamic_lookup $RUSTFLAGS "
13
- fi
14
-
15
11
export LLVM_PROFILE_FILE=" ${DESTDIR} /default_%m_%p.profraw"
16
12
cargo test
17
13
18
14
grcov " ${DESTDIR} " \
19
15
--ignore ' **/clang-sys*/**' \
20
16
--ignore " $HOME /.cargo/**" \
21
17
--ignore-not-existing \
22
- --excl-start ' begin_impossible! ' \
23
- --excl-stop ' end_impossible! ' \
18
+ --ignore ' tests/** ' \
19
+ --excl-start ' #(\[cfg\(test\)\]|\[test\]) ' \
24
20
--llvm \
25
21
--binary-path " target/debug/" \
26
22
-s . \
Original file line number Diff line number Diff line change 1
- .PHONY : test # Validate the JSON schema .
1
+ .PHONY : test # Run the full test suite .
2
2
test :
3
3
@cargo test
4
4
You can’t perform that action at this time.
0 commit comments