Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-3219

Make the clang-analyzer job fail when lint is introduced

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.3, 3.2.17, 3.4.6, 3.5.9
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Storage 2017-04-17, Storage 2017-05-08

      Description

      We run clang's scan-build tool in a Jenkins job called wiredtiger-clang-analyzer, but currently it gets little attention because it never fails.

      We should review the current failures and eliminate as many as we can. Then we should set a threshold so that if new warnings are introduced the job fails. Ideally we would review that and reduce the threshold when the number of warnings goes down.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                keith.bostic Keith Bostic
                Reporter:
                michael.cahill Michael Cahill
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: