Merge branch 'rust-regressions' into 'master'
Add missing_dependency check to rust-regressions.sh
See merge request rust-team/debcargo-conf!90
Ximin Luo
3 years ago
32 | 32 | results["maybetestbroken_filemissing"]+="$name"$'\n' |
33 | 33 | c=$((c+1)) |
34 | 34 | fi |
35 | if zgrep -q "^Broken autopkgtest-satdep" "$url"; then | |
36 | results["missing_dependency"]+="$name"$'\n' | |
37 | c=$((c+1)) | |
38 | fi | |
35 | 39 | if [ "$c" = 0 ]; then |
36 | 40 | results["UNKNOWN"]+="$url"$'\n' |
37 | 41 | results["UNKNOWN"]+="$(zgrep ^error "$url" | head -n3 || true)"$'\n' |
56 | 60 | |
57 | 61 | 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." |
58 | 62 | 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." |
63 | ||
64 | action["missing_dependency"]="Package the missing dev-dependencies." | |
65 | 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." | |
59 | 66 | |
60 | 67 | if [ -z "$*" ]; then |
61 | 68 | if ! [ -f rust-regressions.list ]; then |