summaryrefslogtreecommitdiffstats
path: root/clang/utils/analyzer/SATestAdd.py
Commit message (Collapse)AuthorAgeFilesLines
* [analyzer] Update SATestBuild.py to enable a 'download and patch' model for ↵Devin Coughlin2015-11-071-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | projects. Currently the SATestBuild.py and SATestAdd.py buildbot scripts expect project sources to be checked into the project repository. This commit changes these scripts to additionally support a model where project sources are downloaded rather than checked into the repository. Sometimes projects may need to be modified (for example, to support a newer versions of clang), so the updated scripts also allow for an optional patch file that will be applied to the downloaded project source before analysis. To support this workflow, this commit changes the expected layout of a project in the repository. The project-specific helper scripts will stay in the root of each project directory, but the benchmark source itself (if checked into the repo) should now be stored in a subdirectory named 'CachedSource': project_name/ cleanup_run_static_analyzer.sh [optional] run_static_analyzer.cmd [required] download_project.sh [optional] CachedSource/ [optional] changes_for_analyzer.patch [optional] If the 'CachedSource' source directory is not present, the download script will be executed. This script should download the project source into 'CachedSource'. Then, if 'changes_for_analyzer.patch' is present its changes will be applied to a copy of 'CachedSource' before analysis. Differential Revision: http://reviews.llvm.org/D14345 llvm-svn: 252410
* [analyzer] Apply whitespace cleanups by Honggyu Kim.Ted Kremenek2015-09-081-14/+14
| | | | llvm-svn: 246978
* [analyzer] testing: add a build mode to allow C++11 testing.Anna Zaks2012-09-061-8/+10
| | | | llvm-svn: 163357
* [analyzer] Fix SATestAdd to work with SATestBuild.Jordan Rose2012-06-011-1/+1
| | | | | | | Also, eliminate global 'IsReferenceBuild' in SATestBuild. It doesn't get passed around that much. llvm-svn: 157816
* [analyzer] Testing: support for regenerate reference outputAnna Zaks2011-11-081-12/+15
| | | | | | | Change the flow of the SATestAdd so that it could be used for regenerating the reference output without exiting with an error. llvm-svn: 144141
* [analyzer] Add support for testing with individual preprocessed files.Anna Zaks2011-11-051-5/+11
| | | | llvm-svn: 143786
* [analyzer] Static Analyzer Qualification Infrastructure: Scripts to support ↵Anna Zaks2011-10-061-0/+71
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