From e878cef7ab213ead67e3530b65c1472aeba694a8 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 25 Dec 2016 14:29:55 +0200 Subject: Attempt to disable lintian errors Lintian in Debian unstable is giving me these errors: 0081: E: foo changes: bad-distribution-in-changes-file unstable-ci 0082: E: foo changes: changed-by-address-malformed Lars Wirzenius This commit attempt to disable those, but I hae commit to master so that the test suite for ick uses the changes. --- doc/900-implements.yarn | 3 +++ icklib/cleanly | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/900-implements.yarn b/doc/900-implements.yarn index 06fe735..64dcbe3 100644 --- a/doc/900-implements.yarn +++ b/doc/900-implements.yarn @@ -224,8 +224,11 @@ later investigation. > "$DATADIR/cleanly.stdout" \ 2> "$DATADIR/cleanly.stderr" then + ==== stdout ==== cat "$DATADIR/cleanly.stdout" + ==== stderr ==== cat "$DATADIR/cleanly.stderr" 1>&2 + ==== end of stderr ==== exit 1 fi diff --git a/icklib/cleanly b/icklib/cleanly index b8b7cbb..83bd089 100755 --- a/icklib/cleanly +++ b/icklib/cleanly @@ -245,7 +245,7 @@ class App(cliapp.Application): self._report('Build dsc') with open('/dev/null') as f: cliapp.runcmd( - ['debuild', '-S', '-sa', '-us', '-uc', '-i'], + ['debuild', '-S', '-sa', '-us', '-uc', '-i', '--no-lintian'], cwd=srcdir, stdin=f, stdout=None, stderr=None) self._report('Clean up') @@ -315,6 +315,7 @@ class App(cliapp.Application): opts = [ '--build', '--buildresult', result, + '--debbuildopts', '--check-options=-X bad-distribution-in-changes-file,changed-by-address-malformed', ] if self.settings['build-arch-all-also']: opts += ['--debbuildopts', '-b'] -- cgit v1.2.1