Closed
Bug 1308401
Opened 8 years ago
Closed 5 months ago
Make sure scan-build doesn't fail silently
Categories
(NSS :: Test, defect, P5)
NSS
Test
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.
Comment 1•8 years ago
|
||
That's because commands that fail on a pipeline or on conditionals (if, while) don't trigger `set -e` aborts.
Updated•2 years ago
|
Severity: normal → S3
Updated•5 months ago
|
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.
Description
•