On 20 Dec 2018, at 15:53, Bill Cole wrote:

On 20 Dec 2018, at 14:25, Bill Cole wrote:

This caused a failure in the run_nightly script which apparently doesn't prevent a broken update from being built and distributed.

I'm looking at run_nightly...

It's a problem in the 'make' step: a lint failure emits a nice obvious error message:

  ERROR: LINT FAILED, suppressing output: rules/72_active.cf

But then the make succeeds. Seems like a poor choice...

Still working...

It's a build/mkrules problem:

    if (lint_rule_text($text) != 0) {
      warn "\nERROR: LINT FAILED, suppressing output: $file\n\n";

      # don't suppress entirely, otherwise 'make distcheck'/'disttest'
      # will fail since the MANIFEST-listed output files will be
      # empty.

      # delete $output_file_text->{$file};
      $output_file_text->{$file} = '';
    }

Seems like a poor choice. IMHO make dist* *SHOULD* fail if the rules can't pass lint.

Reply via email to