diff --git a/dev/rust-regressions.sh b/dev/rust-regressions.sh index f7d803b..852be29 100755 --- a/dev/rust-regressions.sh +++ b/dev/rust-regressions.sh @@ -33,6 +33,10 @@ results["maybetestbroken_filemissing"]+="$name"$'\n' c=$((c+1)) fi + if zgrep -q "^Broken autopkgtest-satdep" "$url"; then + results["missing_dependency"]+="$name"$'\n' + c=$((c+1)) + fi if [ "$c" = 0 ]; then results["UNKNOWN"]+="$url"$'\n' results["UNKNOWN"]+="$(zgrep ^error "$url" | head -n3 || true)"$'\n' @@ -57,6 +61,9 @@ action["maybetestbroken_filemissing"]="Mark the relevant tests as test_is_broken=true in debcargo.toml, re-upload the package, and file a bug upstream for them to fix it." explain["maybetestbroken_filemissing"]="Carge does not enforce that tests pass per-crate, so sometimes crate authors run tests on a per-workspace basis and have crate tests depend on files in the parent workspace, which are not part of the crate when uploaded to crates.io." + +action["missing_dependency"]="Package the missing dev-dependencies." +explain["missing_dependency"]="autopkgtest cannot install all dependencies. Check the dev-dependencies section in the Cargo.toml or the Testsuite-Triggers field in the dsc file to see a list of additional autopkgtest dependencies, or inspect the full log to find the missing packages." if [ -z "$*" ]; then if ! [ -f rust-regressions.list ]; then