aboutsummaryrefslogtreecommitdiff
path: root/utils/analyzer/SATestBuild.py
AgeCommit message (Collapse)Author
2013-04-05[analyzer] Re-enable cplusplus.NewDelete (but not NewDeleteLeaks).Jordan Rose
As mentioned in the previous commit message, the use-after-free and double-free warnings for 'delete' are worth enabling even while the leak warnings still have false positives. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178891 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-02[analyzer] Moving cplusplus.NewDelete to alpha.* for now.Anton Yartsev
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178529 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-25[analyzer] Adds cplusplus.NewDelete checker that check for memory leaks, ↵Anton Yartsev
double free, and use-after-free problems of memory managed by new/delete. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177849 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-24scan-build: Add a --keep-empty option for better testing.Jordan Rose
SATestBuild expects to compare output directories for each invocation of scan-build that it runs, but scan-build clears out empty directories by default. We were coincidentally not getting that behavior until r173294. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173383 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-26[analyzer] SATestBuild.py: allow make builds to disable parallelizationJordan Rose
Before, SATestBuild unilaterally added '-j<n>' to every project built with 'make'. Now, we check and see if there's a -j option already specified, which allows a project to explicitly be marked '-j1'. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168603 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-16[analyzer] SATestBuild.py: fix broken string concatenationJordan Rose
This has been broken for a while, but the branch was never being taken. (We were trying to do 'str + floatVal'; now we do 'str % intVal' and use the '%d' format.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168174 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-15[analyzer] SATestBuild.py: correctly add -j option for projects using make.Jordan Rose
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168099 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-02[analyzer] Test SimpleStream on the buildbot.Anna Zaks
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167317 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-06[analyzer] testing: add a build mode to allow C++11 testing.Anna Zaks
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163357 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-31Revert "[analyzer] Disable diagnostic checking on the buildbot."Jordan Rose
This reverts commit befc0f648c83f65e1f3567f2058c7c18b4bc3ad8 now that plist-html diagnostics are working again. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162966 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-30[analyzer] Disable diagnostic checking on the buildbot.Anna Zaks
Due to recent diagnostic changes, we may generate malformed diagnostics. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162940 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-29[analyzer] Fixup 162863.Anna Zaks
Thanks Jordan. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162875 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-29[analyzer]Fix typo, unbreak static analyzer BuildBot (at leastAnna Zaks
partially). (Addresses a regression from r162790.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162864 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-28Automatically use more cores when the test build uses 'make'.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162790 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-28Consolidate helper methods and configuration logic. No functionality change.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162789 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-28Pass --use-analyzer to scan-build when running within the test harness.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162783 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-28experimental.security.taint is now alpha.security.taintTed Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162775 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-26SATestBuild should not ask for non-existent checkers.Jordan Rose
- "cocoa" was moved to "osx.cocoa" a long time ago. - "cplusplus" would be a valid package except we don't have any C++ checkers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160821 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-16[analyzer] Make CmpRuns external-user friendly.Anna Zaks
CmpRuns can be used for static analyzer bug report comparison. However, we want to make sure external users do not rely on the way bugs are represented (plist files). Make sure that we have a user friendly/documented API for CmpRuns script. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160314 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-01[analyzer] SATestBuild should execute SVN updates even if Verbose is off.Jordan Rose
Also, re-use glob results when looking for failure logs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157817 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-01[analyzer] Fix SATestAdd to work with SATestBuild.Jordan Rose
Also, eliminate global 'IsReferenceBuild' in SATestBuild. It doesn't get passed around that much. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157816 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-20[analyzer] Testing: These checkers are not experimental anymore.Anna Zaks
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150989 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-15[analyzer] Add the Malloc checker to the list of tested checkers.Anna Zaks
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150535 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-03[analyzer] Testing: add automated reference results reset.Anna Zaks
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149682 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-01[analyzer] Testing: add 2 new checkers to the buildbot script.Anna Zaks
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149514 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-24[analyzer] Add the HTML file to the SATest diagnostic diff.Anna Zaks
(Uses the functionality which has been in CmpRuns long before.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148868 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-21[analyzer] Unbreak the static analyzer bot. Regression from r148558.Anna Zaks
When we build a single source file, we call clang directly (not though scan-build). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148612 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-20[analyzer] Tweak the buildbot script to include the experimental taint ↵Anna Zaks
checker and correct the checker enabling setting. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148558 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-10[analyzer] Testing infrastructure: Flush output after every printAnna Zaks
statement. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147862 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-04[analyzer] Correct the error message in the testing infrastructure.Anna Zaks
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147568 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-08[analyzer] Testing: test with all the non-experimental checker packages.Anna Zaks
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144142 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-08[analyzer] Testing: Display the number of reported differences in the main log.Anna Zaks
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144113 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-08[analyzer] Testing infrastructure: flush the output between projects.Anna Zaks
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144051 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-05[analyzer] Add support for testing with individual preprocessed files.Anna Zaks
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143786 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-02[analyzer] Tweak the test scriptAnna Zaks
Rename the pre_run_static_analyzer script into cleanup_run_static_analyzer and use it to clean up after the reference build - which is done as part of adding a new project to the system. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143568 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-06[analyzer] Static Analyzer Qualification Infrastructure: Scripts to support ↵Anna Zaks
basic testing of the analyzer on external projects. This can be used as a basis for setting up a buildbot. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141337 91177308-0d34-0410-b5e6-96231b3b80d8