Merge branch 'lintian-opt' into 'master'
Ignore Lintian error for UNRELEASED-* distribution
See merge request rust-team/debcargo-conf!89
Ximin Luo
4 years ago
110 | 110 | AUTOPKGTEST_OPTS=() |
111 | 111 | fi |
112 | 112 | |
113 | LINTIAN_OPTS=() | |
114 | if echo "$DEBDIST" | grep -q UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; then | |
115 | LINTIAN_OPTS=(--lintian-opt="--suppress-tags" --lintian-opt="bad-distribution-in-changes-file") | |
116 | fi | |
117 | ||
113 | 118 | sbuild --no-source --arch-any --arch-all \ |
114 | 119 | ${CHROOT:+-c $CHROOT} \ |
115 | 120 | ${DISTRIBUTION:+-d $DISTRIBUTION} \ |
116 | 121 | ${@/#/--extra-package=} \ |
117 | 122 | "${AUTOPKGTEST_OPTS[@]}" \ |
123 | "${LINTIAN_OPTS[@]}" \ | |
118 | 124 | "$SRCNAME.dsc" |
119 | 125 | if [ "$SKIP_AUTOPKGTEST" != 1 ]; then |
120 | 126 | report "analyzing autopkgtest log: $BUILDNAME.test.log" |