Closed Bug 1308401 Opened 8 years ago Closed 5 months ago

Make sure scan-build doesn't fail silently

Categories

(NSS :: Test, defect, P5)

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: franziskus, Unassigned)

References

Details

(Whiteboard: [nss-nofx])

scan-build tests may not actually do anything if the script isn't correct.

After messing up run_scan_build.sh recently we got this
> nss/automation/taskcluster/scripts/run_scan_build.sh: line 43: [: 0: unary operator expected
but a green scan-build on treeherder. This shouldn't happen.
That's because commands that fail on a pipeline or on conditionals (if, while) don't trigger `set -e` aborts.
See Also: → 1308832
Severity: normal → S3
Severity: S3 → S4
Status: NEW → RESOLVED
Closed: 5 months ago
Priority: -- → P5
Resolution: --- → WONTFIX
Whiteboard: [nss-nofx]
You need to log in before you can comment on or make changes to this bug.