1. 05 Feb, 2019 13 commits
    • Felix Lechner's avatar
      Add Build-Depends: libtext-csv-perl <!nocheck>. · 87bceb39
      Felix Lechner authored
      Two new utilities called tagextract and tagdiff will use this to parse
      colon-based output from Lintian and also a new generalized format for
      tags. The generalized format is necessary to automatically cycle
      through various Lintian output formats.
      
      This library is available all the way back to oo-stable.
      
      Gpb-Dch: ignore
      87bceb39
    • Felix Lechner's avatar
      Add Build-Depends: libxml-libxml-perl <!nocheck>. · 908c1330
      Felix Lechner authored
      A new utility called tagextact will use this to parse Lintian's XML
      output format.
      
      The library is recommended over libxml-simple-perl, which is already
      on the list but reportedly buggy and dated.
      
      This library is available all the way back to oo-stable.
      
      Gbp-Dch: ignore
      908c1330
    • Felix Lechner's avatar
      Use new lintian invocation template when running lintian in tests. · aabb7b2a
      Felix Lechner authored
      Switches the runner from a programmatic invocation of Lintian to the
      template-based call. This documents the options that were used and
      their order, which makes debugging easier. It also aids in the
      parameterization of the Lintian invocation. This is a preparation for
      cycling through a variety of Lintian settings, such as output formats.
      
      Gbp-Dch: ignore
      aabb7b2a
    • Felix Lechner's avatar
      Adjust test specifications for new Lintian options scheme. · 03d0f0de
      Felix Lechner authored
      The default settings are now propagated through a new parameter called
      Default-Lintian-Options. Removes default settings of '-I -E' from test
      specifications that use them and leaves only options that were clearly
      meant to differ from the default settings. This is a preparation for
      cycling through different output formats.
      
      Gbp-Dch: ignore
      03d0f0de
    • Felix Lechner's avatar
      Adjust internal harness test for new Lintian options scheme. · f24ae394
      Felix Lechner authored
      This changes a harness tests after the defaults were changed. The
      defaults are examined in this test.
      
      Gbp-Dch: ignore
      f24ae394
    • Felix Lechner's avatar
      Add default settings for how Lintian is called in tests. · 7c069485
      Felix Lechner authored
      This sets the default Lintian options in tests to '-I -E'. The new
      option is intended to be used with the old 'Options': except that a
      test using it no longer has to duplicate the default settings.  Makes
      the test suite more internally consistent between tests. It is a
      preparation for cycling through different output formats.
      
      Gbp-Dch: ignore
      7c069485
    • Felix Lechner's avatar
      Add Lintian invocation template to test skeletons. · 08939b9b
      Felix Lechner authored
      A template set added recently produces a command line for Lintian. It
      leaves a record in the test's working directory and can be examined
      for debugging.  It also parameterizes the Lintian invocation. Adds the
      template set to skeletons that need it.
      
      Gbp-Dch: ignore
      08939b9b
    • Felix Lechner's avatar
      Add template whitelist for Lintian invocation in tests. · 24ccdc5b
      Felix Lechner authored
      When templates are filled, the runner restricts itself to a list of
      files known as whitelists. The purpose is to avoid filling unrelated
      templates in a test when there may be another need for them. Adds a
      whitelist for the template set used in the Lintian invocation.
      
      Gbp-Dch: ignore
      24ccdc5b
    • Felix Lechner's avatar
      Add template to parameterize the Lintian invocation in tests. · 9f9f18c9
      Felix Lechner authored
      The runner puts together a command line when calling Lintian. This is
      done programmatically. This adds a template that is fulled with data
      such as the output format. This parameterizes the Lintian invocation.
      
      Gbp-Dch: ignore
      9f9f18c9
    • Felix Lechner's avatar
      Turn off sorting for test lintian-output-xml. · 232f1188
      Felix Lechner authored
      The default for sorting tags is 'yes'. It was not disabled for this
      test, which produces output in XML. Sorting those lines lexically
      makes little sense.  Disables sorting for this test.
      
      Gpb-Dch: ignore
      232f1188
    • Felix Lechner's avatar
      Move builder location for tests to 't/defaults/files'. · 463a69de
      Felix Lechner authored
      The builder file is a special template that is filled first and then
      loaded into the template data. It allows other templates to receive
      values seeded by the builder.
      
      This mechanism is likely to be generalized in the future, so that
      loading into the template data is possible from multiple files. Makes
      the name of the builder file configurable.
      
      Gbp-Dch: ignore
      463a69de
    • Felix Lechner's avatar
      Make location of log files for tests configurable. · aa236bf3
      Felix Lechner authored
      The file name for the log was previously hardcoded to 'log'. Now it
      can be configured in t/defaults/files. (It can also be overridden with
      a local copy of 'files', but there is currently no use case for it.)
      
      Gbp-Dch: ignore
      aa236bf3
    • Chris Lamb's avatar
  2. 02 Feb, 2019 1 commit
  3. 31 Jan, 2019 1 commit
  4. 30 Jan, 2019 1 commit
    • Felix Lechner's avatar
      Fixup commit b27980f6 for missing buildinfo files. · 6aada8be
      Felix Lechner authored
      The old test suite 'debs' does not automatically generate .buildinfo
      files in t/bin/create-deb. All those tests error out with:
      
        # +Use of uninitialized value $build_path in pattern match (m//) at /lcl/lechner/lintian/git/checks/files.pm line 2382.
      
      Checks that the variable $build_path is defined before using it.
      
      Gbp-Dch: ignore
      Signed-off-by: Chris Lamb's avatarChris Lamb <lamby@debian.org>
      6aada8be
  5. 29 Jan, 2019 18 commits
  6. 28 Jan, 2019 6 commits