test: make upgrade tests pass despite warnings

For a reason I do not entirely understand, the upgrade test started
failing when I removed `rust-toolchain` from the **current** git, even
though old releases still have it. The failures are due to warnings.
Work around this by removing the `#![deny(...)]` and `#[deny(...)]`
lines from the source of the old releases.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
Lars Wirzenius
2025-06-03 09:23:20 +03:00
parent 43f2de4605
commit 7f8ddca5a3
+2 -1
View File
@@ -2442,7 +2442,8 @@ export SRCDIR="$CARGO_MANIFEST_DIR"
cd ci-broker
# Build source code.
cargo build --all-targets -q
find -name '*.rs' -exec sed -Ei '/\[deny\(/d' '{}' +
cargo build --all-targets
(echo "Old CI run lists:"
cargo run -q --bin cibtool -- --db "$db" run list 1>&2