summaryrefslogtreecommitdiffstats
path: root/clang/utils/analyzer/SATestBuild.py
Commit message (Collapse)AuthorAgeFilesLines
* [analyzer] SATestBuild: Don't require reference results to have logs.Jordan Rose2013-06-101-2/+4
| | | | | | | | The Logs directory isn't used for testing, so it's filtered out ahead of time. However, there's then no reason to include it in version control at all. Don't error if it's not present. llvm-svn: 183689
* [analyzer] Always use ccc-analyzer when running scan-build on buildbotAnna Zaks2013-05-311-0/+3
| | | | llvm-svn: 182982
* [analyzer] Re-enable cplusplus.NewDelete (but not NewDeleteLeaks).Jordan Rose2013-04-051-2/+3
| | | | | | | | 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. llvm-svn: 178891
* [analyzer] Moving cplusplus.NewDelete to alpha.* for now.Anton Yartsev2013-04-021-1/+1
| | | | llvm-svn: 178529
* [analyzer] Adds cplusplus.NewDelete checker that check for memory leaks, ↵Anton Yartsev2013-03-251-1/+1
| | | | | | double free, and use-after-free problems of memory managed by new/delete. llvm-svn: 177849
* scan-build: Add a --keep-empty option for better testing.Jordan Rose2013-01-241-0/+1
| | | | | | | | 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. llvm-svn: 173383
* [analyzer] SATestBuild.py: allow make builds to disable parallelizationJordan Rose2012-11-261-1/+2
| | | | | | | | 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'. llvm-svn: 168603
* [analyzer] SATestBuild.py: fix broken string concatenationJordan Rose2012-11-161-2/+2
| | | | | | | | 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.) llvm-svn: 168174
* [analyzer] SATestBuild.py: correctly add -j option for projects using make.Jordan Rose2012-11-151-2/+2
| | | | llvm-svn: 168099
* [analyzer] Test SimpleStream on the buildbot.Anna Zaks2012-11-021-1/+1
| | | | llvm-svn: 167317
* [analyzer] testing: add a build mode to allow C++11 testing.Anna Zaks2012-09-061-8/+12
| | | | llvm-svn: 163357
* Revert "[analyzer] Disable diagnostic checking on the buildbot."Jordan Rose2012-08-311-8/+6
| | | | | | | This reverts commit befc0f648c83f65e1f3567f2058c7c18b4bc3ad8 now that plist-html diagnostics are working again. llvm-svn: 162966
* [analyzer] Disable diagnostic checking on the buildbot.Anna Zaks2012-08-301-6/+8
| | | | | | Due to recent diagnostic changes, we may generate malformed diagnostics. llvm-svn: 162940
* [analyzer] Fixup 162863.Anna Zaks2012-08-291-3/+0
| | | | | | Thanks Jordan. llvm-svn: 162875
* [analyzer]Fix typo, unbreak static analyzer BuildBot (at leastAnna Zaks2012-08-291-1/+4
| | | | | | | | partially). (Addresses a regression from r162790.) llvm-svn: 162864
* Automatically use more cores when the test build uses 'make'.Ted Kremenek2012-08-281-0/+29
| | | | llvm-svn: 162790
* Consolidate helper methods and configuration logic. No functionality change.Ted Kremenek2012-08-281-34/+46
| | | | llvm-svn: 162789
* Pass --use-analyzer to scan-build when running within the test harness.Ted Kremenek2012-08-281-4/+42
| | | | llvm-svn: 162783
* experimental.security.taint is now alpha.security.taintTed Kremenek2012-08-281-1/+1
| | | | llvm-svn: 162775
* SATestBuild should not ask for non-existent checkers.Jordan Rose2012-07-261-1/+1
| | | | | | | - "cocoa" was moved to "osx.cocoa" a long time ago. - "cplusplus" would be a valid package except we don't have any C++ checkers. llvm-svn: 160821
* [analyzer] Make CmpRuns external-user friendly.Anna Zaks2012-07-161-1/+1
| | | | | | | | | 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. llvm-svn: 160314
* [analyzer] SATestBuild should execute SVN updates even if Verbose is off.Jordan Rose2012-06-011-3/+3
| | | | | | Also, re-use glob results when looking for failure logs. llvm-svn: 157817
* [analyzer] Fix SATestAdd to work with SATestBuild.Jordan Rose2012-06-011-14/+9
| | | | | | | Also, eliminate global 'IsReferenceBuild' in SATestBuild. It doesn't get passed around that much. llvm-svn: 157816
* [analyzer] Testing: These checkers are not experimental anymore.Anna Zaks2012-02-201-1/+1
| | | | llvm-svn: 150989
* [analyzer] Add the Malloc checker to the list of tested checkers.Anna Zaks2012-02-151-1/+1
| | | | llvm-svn: 150535
* [analyzer] Testing: add automated reference results reset.Anna Zaks2012-02-031-12/+70
| | | | llvm-svn: 149682
* [analyzer] Testing: add 2 new checkers to the buildbot script.Anna Zaks2012-02-011-1/+1
| | | | llvm-svn: 149514
* [analyzer] Add the HTML file to the SATest diagnostic diff.Anna Zaks2012-01-241-1/+1
| | | | | | (Uses the functionality which has been in CmpRuns long before.) llvm-svn: 148868
* [analyzer] Unbreak the static analyzer bot. Regression from r148558.Anna Zaks2012-01-211-1/+1
| | | | | | When we build a single source file, we call clang directly (not though scan-build). llvm-svn: 148612
* [analyzer] Tweak the buildbot script to include the experimental taint ↵Anna Zaks2012-01-201-2/+2
| | | | | | checker and correct the checker enabling setting. llvm-svn: 148558
* [analyzer] Testing infrastructure: Flush output after every printAnna Zaks2012-01-101-1/+10
| | | | | | statement. llvm-svn: 147862
* [analyzer] Correct the error message in the testing infrastructure.Anna Zaks2012-01-041-2/+1
| | | | llvm-svn: 147568
* [analyzer] Testing: test with all the non-experimental checker packages.Anna Zaks2011-11-081-2/+6
| | | | llvm-svn: 144142
* [analyzer] Testing: Display the number of reported differences in the main log.Anna Zaks2011-11-081-6/+6
| | | | llvm-svn: 144113
* [analyzer] Testing infrastructure: flush the output between projects.Anna Zaks2011-11-081-0/+1
| | | | llvm-svn: 144051
* [analyzer] Add support for testing with individual preprocessed files.Anna Zaks2011-11-051-29/+122
| | | | llvm-svn: 143786
* [analyzer] Tweak the test scriptAnna Zaks2011-11-021-9/+13
| | | | | | | | 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. llvm-svn: 143568
* [analyzer] Static Analyzer Qualification Infrastructure: Scripts to support ↵Anna Zaks2011-10-061-0/+307
basic testing of the analyzer on external projects. This can be used as a basis for setting up a buildbot. llvm-svn: 141337
OpenPOWER on IntegriCloud