History log of /external/clang/utils/analyzer/SATestBuild.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
651f13cea278ec967336033dd032faef0e9fc2ec 24-Apr-2014 Stephen Hines <srhines@google.com> Updated to Clang 3.5a.

Change-Id: I8127eb568f674c2e72635b639a3295381fe8af82
/external/clang/utils/analyzer/SATestBuild.py
1c840db980075f56e5747b5b636e319a26722fe3 06-Sep-2013 Jordan Rose <jordan_rose@apple.com> [analyzer] SATestBuild: strip trailing newlines from command file.

When running a make-based command, SATestBuild tries to append a -jN flag
with an appropriate N to run the build in parallel. However, it failed
to take into account that each line read includes a trailing newline
(unless it is the last line of a file without a trailing newline), which
resulted in the "-jN" appearing on a line on its own.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190164 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
de5f2ee2aa4afabd325056013becfee1172c8db2 10-Jun-2013 Jordan Rose <jordan_rose@apple.com> [analyzer] SATestBuild: Don't require reference results to have logs.

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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183689 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
e3a9baa45c91f5c06801a2d667b5d6d71bcfb355 31-May-2013 Anna Zaks <ganna@apple.com> [analyzer] Always use ccc-analyzer when running scan-build on buildbot

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182982 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
e449edc5bdace60f9d754c32abc5459bc7d94a14 05-Apr-2013 Jordan Rose <jordan_rose@apple.com> [analyzer] Re-enable cplusplus.NewDelete (but not NewDeleteLeaks).

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
/external/clang/utils/analyzer/SATestBuild.py
3d11708c491a96198ebfee49079ae458ed90eaf8 02-Apr-2013 Anton Yartsev <anton.yartsev@gmail.com> [analyzer] Moving cplusplus.NewDelete to alpha.* for now.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178529 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
2de19edab6001d2c17720d02fe0760b9b452192a 25-Mar-2013 Anton Yartsev <anton.yartsev@gmail.com> [analyzer] Adds cplusplus.NewDelete checker that check for memory leaks, 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
/external/clang/utils/analyzer/SATestBuild.py
33e9500784a6b8dc7f01ae5c85ebf0883fbc6662 25-Jan-2013 Jordan Rose <jordan_rose@apple.com> scan-build: Add a --keep-empty option for better testing.

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
/external/clang/utils/analyzer/SATestBuild.py
7bd51ea64fd06b9a243faaacb0b15c168afe47a6 26-Nov-2012 Jordan Rose <jordan_rose@apple.com> [analyzer] SATestBuild.py: allow make builds to disable parallelization

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
/external/clang/utils/analyzer/SATestBuild.py
58782bee56bf5e6ab42e6695af9ae5befe1fd479 16-Nov-2012 Jordan Rose <jordan_rose@apple.com> [analyzer] SATestBuild.py: fix broken string concatenation

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
/external/clang/utils/analyzer/SATestBuild.py
f55a9e5e70aa08a5a4d3f3ad79487b3ad1d19b46 15-Nov-2012 Jordan Rose <jordan_rose@apple.com> [analyzer] SATestBuild.py: correctly add -j option for projects using make.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168099 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
765029b34fb7dbc4faa8ae008d5191e9adc5fdd5 02-Nov-2012 Anna Zaks <ganna@apple.com> [analyzer] Test SimpleStream on the buildbot.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167317 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
817ce3dd26590bf3f099fb82d9b6fcc43e8a7ee9 07-Sep-2012 Anna Zaks <ganna@apple.com> [analyzer] testing: add a build mode to allow C++11 testing.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163357 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
191e2b1d4aad18794bc5612459384f0321ffdf38 31-Aug-2012 Jordan Rose <jordan_rose@apple.com> Revert "[analyzer] Disable diagnostic checking on the buildbot."

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
/external/clang/utils/analyzer/SATestBuild.py
befc0f648c83f65e1f3567f2058c7c18b4bc3ad8 30-Aug-2012 Anna Zaks <ganna@apple.com> [analyzer] Disable diagnostic checking on the buildbot.

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
/external/clang/utils/analyzer/SATestBuild.py
28694c1fe44082970cd53ca7ffef25f668e4c545 30-Aug-2012 Anna Zaks <ganna@apple.com> [analyzer] Fixup 162863.

Thanks Jordan.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162875 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
3defb0be1bf1d2e71786d2950fab93bf74de375c 29-Aug-2012 Anna Zaks <ganna@apple.com> [analyzer]Fix typo, unbreak static analyzer BuildBot (at least
partially).

(Addresses a regression from r162790.)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162864 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
82778af78a7337498e6bcfc81c75cee29d329915 28-Aug-2012 Ted Kremenek <kremenek@apple.com> Automatically use more cores when the test build uses 'make'.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162790 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
7c14c4456532fbaff17c6ae3e5d259d475bfd7f7 28-Aug-2012 Ted Kremenek <kremenek@apple.com> Consolidate helper methods and configuration logic. No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162789 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
5abd3d2ba4c4edb5140de5d65a16e5da4076f0b1 28-Aug-2012 Ted Kremenek <kremenek@apple.com> Pass --use-analyzer to scan-build when running within the test harness.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162783 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
aade589b2bb90a2ea5ba4942ba04e3104f1daf74 28-Aug-2012 Ted Kremenek <kremenek@apple.com> experimental.security.taint is now alpha.security.taint

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162775 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
dba417ce68756b6f838113c5e18aa6335e4df286 27-Jul-2012 Jordan Rose <jordan_rose@apple.com> SATestBuild should not ask for non-existent checkers.

- "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
/external/clang/utils/analyzer/SATestBuild.py
7acc407240152e9f7a6e9f2efb24aa4b2a71c8de 16-Jul-2012 Anna Zaks <ganna@apple.com> [analyzer] Make CmpRuns external-user friendly.

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
/external/clang/utils/analyzer/SATestBuild.py
04bc014dfddd1298ae984a8632b41e0d77c9f556 01-Jun-2012 Jordan Rose <jordan_rose@apple.com> [analyzer] SATestBuild should execute SVN updates even if Verbose is off.

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
/external/clang/utils/analyzer/SATestBuild.py
6d7e3727996cf6c418e9fdccf8521dc3282f9368 01-Jun-2012 Jordan Rose <jordan_rose@apple.com> [analyzer] Fix SATestAdd to work with SATestBuild.

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
/external/clang/utils/analyzer/SATestBuild.py
9747b539cdba6e3ede2b927187a909a796336fc9 20-Feb-2012 Anna Zaks <ganna@apple.com> [analyzer] Testing: These checkers are not experimental anymore.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150989 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
f66035ec41766d232c37a58f67046cc0b4bb433b 15-Feb-2012 Anna Zaks <ganna@apple.com> [analyzer] Add the Malloc checker to the list of tested checkers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150535 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
09e9cf0927641ee64bb0a354b0a6acca604361cc 03-Feb-2012 Anna Zaks <ganna@apple.com> [analyzer] Testing: add automated reference results reset.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149682 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
ac4e5b7a111ec3a91bf360b2213b10975f87ca17 01-Feb-2012 Anna Zaks <ganna@apple.com> [analyzer] Testing: add 2 new checkers to the buildbot script.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149514 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
2c3038edc2a691b2462ef4bc7fae8f4c9a494154 24-Jan-2012 Anna Zaks <ganna@apple.com> [analyzer] Add the HTML file to the SATest diagnostic diff.
(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
/external/clang/utils/analyzer/SATestBuild.py
8c345c0fc321ada7336ee13b0cd815b91553edaf 21-Jan-2012 Anna Zaks <ganna@apple.com> [analyzer] Unbreak the static analyzer bot. Regression from r148558.

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
/external/clang/utils/analyzer/SATestBuild.py
afb51afd986384d88161ff0f8a4731847236126a 20-Jan-2012 Anna Zaks <ganna@apple.com> [analyzer] Tweak the buildbot script to include the experimental taint checker and correct the checker enabling setting.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148558 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
d3e29ef3e0c3f2f70ec41c83e68c271f970e1852 10-Jan-2012 Anna Zaks <ganna@apple.com> [analyzer] Testing infrastructure: Flush output after every print
statement.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147862 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
f063a3b783e22effa7972d05830cee942b2499ce 05-Jan-2012 Anna Zaks <ganna@apple.com> [analyzer] Correct the error message in the testing infrastructure.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147568 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
8d4a515b033773119b6af9769c23640d4060c0c8 08-Nov-2011 Anna Zaks <ganna@apple.com> [analyzer] Testing: test with all the non-experimental checker packages.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144142 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
a7a2564ff59a1917c5f27343923635bd231466d6 08-Nov-2011 Anna Zaks <ganna@apple.com> [analyzer] Testing: Display the number of reported differences in the main log.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144113 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
bc05f57cba6655d1f8ff7f17338dac63139b878e 08-Nov-2011 Anna Zaks <ganna@apple.com> [analyzer] Testing infrastructure: flush the output between projects.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144051 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
45518b1f768c302837096d1359b2935cdb8ee08d 05-Nov-2011 Anna Zaks <ganna@apple.com> [analyzer] Add support for testing with individual preprocessed files.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143786 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/utils/analyzer/SATestBuild.py
5fa3f1309b27d2f117dfd10a45a8642b7d4baae9 02-Nov-2011 Anna Zaks <ganna@apple.com> [analyzer] Tweak the test script

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
/external/clang/utils/analyzer/SATestBuild.py
1b41716abf6856af893fd2f13cd0272dffa0e312 07-Oct-2011 Anna Zaks <ganna@apple.com> [analyzer] Static Analyzer Qualification Infrastructure: Scripts to support 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
/external/clang/utils/analyzer/SATestBuild.py