File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM ubuntu:24.04@sha256:ab64a8382e935382638764d8719362bb50ee418d944c1f3d26e0c99fae49a345
22
33ARG BATS_VERSION=1.11.0
4- ARG CARGO_BINSTALL_VERSION=1.6 .8
5- ARG RUST_VERSION=1.78 .0
4+ ARG CARGO_BINSTALL_VERSION=1.10 .8
5+ ARG RUST_VERSION=1.81 .0
66
77ARG DEBIAN_FRONTEND=noninteractive
88
@@ -43,8 +43,9 @@ RUN batstmp="$(mktemp -d /tmp/bats-core-${BATS_VERSION}.XXXX)" \
4343RUN update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-13 20 \
4444 && cp /etc/skel/.bashrc /root/.bashrc
4545
46+ ENV BINSTALL_DISABLE_TELEMETRY=true
4647# Install additional rust tools
4748RUN wget -qO - "https://github.com/cargo-bins/cargo-binstall/releases/download/v${CARGO_BINSTALL_VERSION}/cargo-binstall-$(uname -m)-unknown-linux-gnu.tgz" | tar xz -C "/usr/bin" \
48- && cargo-binstall -y --locked cargo-binutils@0.3.6 cargo-mutants@24.5 .0 flip-link@0.1.8 \
49+ && cargo-binstall -y --locked cargo-binutils@0.3.6 cargo-mutants@24.9 .0 flip-link@0.1.9 \
4950 # cargo-binstall can't (yet) install probe-rs-tools for aarch64, fall-back to script installation
5051 && wget -qO - https://github.com/probe-rs/probe-rs/releases/download/v0.24.0/probe-rs-tools-installer.sh | sh
Original file line number Diff line number Diff line change 7373
7474@test " coverage information should be generated when running a testsuite" {
7575 pushd test
76-
76+
7777 RUSTFLAGS=" -C instrument-coverage" run cargo test
7878 assert_success
7979 assert_output --partial " test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out;"
8080
8181 cargo profdata -- merge -sparse default_* .profraw -o default.profdata
8282
83- run cargo cov -- report --instr-profile=default.profdata --object target/debug/deps/test-39ae9a37530d18ea
83+ run cargo cov -- report --instr-profile=default.profdata --object target/debug/deps/test-79ff237e4a2ee06d
8484 assert_success
8585 assert_output --partial " 77.78%"
8686
You can’t perform that action at this time.
0 commit comments