This repository was archived by the owner on Nov 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ version = "0.1.0"
44edition = " 2021"
55license = " MIT"
66
7+ [features ]
8+ slow-tests = []
9+
710[dependencies ]
811anyhow = { version = " 1.0" , features = [" backtrace" ] }
912cobertura = { path = " ../cobertura" }
Original file line number Diff line number Diff line change 22// Licensed under the MIT License.
33
44#[ test]
5- #[ cfg( target_os = "windows" ) ]
5+ #[ cfg( all ( target_os = "windows" , feature = "slow-tests" ) ) ]
66fn windows_snapshot_tests ( ) {
77 use coverage:: { binary:: DebugInfoCache , source:: Line , AllowList } ;
88 use debuggable_module:: path:: FilePath ;
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export RUST_BACKTRACE=full
3737
3838# Run tests and collect coverage
3939# https://github.com/taiki-e/cargo-llvm-cov
40- cargo llvm-cov nextest --all-targets --locked --workspace --lcov --output-path " $output_dir /lcov.info"
40+ cargo llvm-cov nextest --all-targets --features slow-tests -- locked --workspace --lcov --output-path " $output_dir /lcov.info"
4141
4242# TODO: re-enable integration tests.
4343# cargo test --release --manifest-path ./onefuzz-task/Cargo.toml --features integration_test -- --nocapture
You can’t perform that action at this time.
0 commit comments