Serge Guelton
b748c0e696
Portable Python script across Python version
...
Make scripts more future-proof by importing most __future__ stuff.
Differential Revision: https://reviews.llvm.org/D55208
llvm-svn: 349504
2018-12-18 16:07:37 +00:00
Serge Guelton
c0ebe773cd
Portable Python script across Python version
...
Using from __future__ import print_function it is possible to have a compatible behavior of `print(...)` across Python version.
Differential Revision: https://reviews.llvm.org/D55213
llvm-svn: 349454
2018-12-18 08:36:33 +00:00
George Karpenkov
1f5fe1132e
[analyzer] [tests] Do not be verbose by default when updating reference results.
...
llvm-svn: 339183
2018-08-07 21:14:35 +00:00
George Karpenkov
dc0abcb87b
[analyzer] [tests] Create a directory for the log file
...
llvm-svn: 326408
2018-03-01 02:18:54 +00:00
George Karpenkov
3f560daf37
[analyzer] [tests] Write to logfile instead of stdout while updating
...
reference results
llvm-svn: 326295
2018-02-28 01:55:23 +00:00
George Karpenkov
3c128cb1e6
[analyzer] [tests] Remove empty folders in reference results, do not store diffs.txt
...
Storing diffs.txt is now redundant, as we simply dump the CmpRuns output
to stdout (it is saved in CI and tends to be small).
Not generating those files enables us to remove empty folders, which
confuse git, as it would not add them with reference results.
llvm-svn: 316948
2017-10-30 19:40:33 +00:00
George Karpenkov
65839bd429
[Analyzer] [Tests] Consistently use exit codes. Use code=42 to signify different results
...
llvm-svn: 316632
2017-10-26 01:13:22 +00:00
George Karpenkov
9944babb65
[Analyzer Tests] Fix misc bugs in analyzer reference results updater.
...
llvm-svn: 314960
2017-10-05 01:02:20 +00:00
George Karpenkov
a807660918
[Analyzer] Make testing scripts flake8 compliant
...
Differential Review: https://reviews.llvm.org/D38213
llvm-svn: 314692
2017-10-02 17:59:12 +00:00
George Karpenkov
439a95bde7
[Analyzer] Fix minor errors in python scripts.
...
llvm-svn: 314042
2017-09-22 22:58:46 +00:00
George Karpenkov
aff33385d2
[Analyzer] Static analyzer script for updating reference results
...
The script updates reference results from the previous run, and stages them.
Differential Revision: https://reviews.llvm.org/D38157
llvm-svn: 313950
2017-09-22 01:43:12 +00:00