[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#919096: lintian: autopkgtest regression in 2.5.121



Package: lintian
Version: 2.5.121
Severity: important
X-Debbugs-CC: Felix Lechner <felix.lechner@lease-up.com>

Hi Felix,

Looks like some of your changes to t/runtests in 2.5.121 are causing
an autopkgtest regression:

  https://ci.debian.net/packages/l/lintian/testing/amd64/

I think the code in question is:

    # get harness date, including templates, skeletons and whitelists
    my @harnessparts
      = ('t/helpers', 't/runners', 't/templates', 't/skeletons', 't/whitelists');
    my @harnessfiles
      = map { File::Find::Rule->file->in("$ENV{'LINTIAN_TEST_ROOT'}/$_") }
      @harnessparts;
    my $harness_files_epoch = max(map { stat($_)->mtime } @harnessfiles);
    $ENV{'HARNESS_EPOCH'}
      = max(our_modification_epoch, perl_modification_epoch, $harness_files_epoch);
    say 'Harness modified on '. rfc822date($ENV{'HARNESS_EPOCH'});

Can you take a look? (I'm guessing some of the files this is checking
are not available at autopkgtest time?)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-


Reply to: