Ayaz Salikhov
2dd6168258
Improve Python code
2017-06-04 22:51:48 +02:00
Daniel Marjamäki
0262020707
--template: Removed 'clang' and renamed 'cppcheck2' to 'daca2'
2017-05-25 05:24:42 +02:00
Daniel Marjamäki
a3c0eecccf
Added --template=cppcheck2 output format
2017-05-23 12:19:11 +02:00
Daniel Marjamäki
882e1e6064
daca2: use 'clang' output template
2017-05-22 07:44:58 +02:00
Boris Egorov
743dcdd669
daca2: Use logging module instead of opening/closing results file
2016-12-08 21:18:16 +07:00
Boris Egorov
c250e385d3
daca2: Use argparse instead of manual argument parsing
2016-12-08 21:14:13 +07:00
Matthias Krüger
27bd4a7f4c
daca2: enable --inconclusive
2016-12-06 11:19:33 +01:00
Daniel Marjamäki
5426cfb15e
daca2: output warning id to make it possible to write more statistics
2016-12-06 09:33:41 +01:00
Daniel Marjamäki
652043fa22
daca2: allow setting cpu limit
2016-09-20 12:46:15 +02:00
Daniel Marjamäki
fd6b18f759
daca2: changed removeLargeFiles and removeAllExceptResults. hopefully these will handle problems better. And hopefully the problems will be logged better.
2016-08-21 11:54:08 +02:00
Daniel Marjamäki
15c1942a64
daca2: allow skipping packages and allow setting workdir
2016-08-01 11:29:04 +02:00
XhmikosR
07b43c6929
Ran autopep8.
2016-07-25 13:16:55 +03:00
Daniel Marjamäki
035a9a162a
daca2: write current time in report
2016-07-22 08:31:00 +02:00
Daniel Marjamäki
648d492f94
daca2: don't skip insighttoolkit, it does not hang as far as I see.
2016-02-15 16:56:23 +01:00
Daniel Marjamäki
a892e6eddc
daca2: do not skip boost
2016-02-12 12:08:39 +01:00
Daniel Marjamäki
087b233ffd
Daca2: don't skip flite anymore. Analysis without MAXTIME is still very slow.
2016-02-11 16:16:09 +01:00
Daniel Marjamäki
b45c2851b0
daca2: changed checking of test code again. people might want to run cppcheck on their testcode to ensure there is not UB. we skip gcc testsuite because the torture tests are not meant to be valid.
2016-02-05 08:39:29 +01:00
Daniel Marjamäki
1d9537b259
daca2: don't run cppcheck on test code, that is rarelly meant to be valid and proper code
2016-02-05 08:34:35 +01:00
Alexander Mai
7b68da3017
Set max file size to 1MB
2016-02-02 17:44:52 +01:00
Alexander Mai
f8de6a66ca
Raise file size limit for daca2 from 100kb to 1mb
2016-01-31 21:18:50 +01:00
Albert ARIBAUD (3ADEV)
97b43c78ce
Run all Python code through autopep8
...
Run all Python code through autopep8 as follows:
autopep8 -ri --ignore=E261,E262,E302 --max-line-length 1000 .
E261 or E262 would cause spaces after a comment's hash sign
to be squashed. Since some of the comments in cppcheck's
Python code have space-indented code examples, not ignoring
E261 or E262 would wreck the formatting of those examples.
E302 prevents autopep8 from adding some blank lines.
setting --max-line-width ensures no line will be wrapped.
2016-01-05 13:30:32 +01:00
Daniel Marjamäki
d0e1583f20
daca2: compile with debug info, when there is exception write info on stderr
2015-11-18 13:36:23 +01:00
Alexander Mai
6cf7ff4243
Try to get error information upon crash in daca2 into log output
2015-11-15 20:38:55 +01:00
Daniel Marjamäki
7f4d39270c
Updated DACA2 scripts
2015-09-28 09:08:37 +02:00
Alexander Mai
a4e0a8bf54
daca2: enable exception-handling and drop valgrind from list of skipped packages
2015-08-01 17:41:26 +02:00
XhmikosR
c090ed2fc9
PEP8 fixes.
...
[ci skip]
2015-04-20 21:11:45 +03:00
Alexander Mai
b8224edaac
Remove iceowl from list of skipped packages. Document the remaining skipped packages with a reference to accoding trac ticket
2014-11-15 12:10:18 +01:00
Daniel Marjamäki
33f384c48e
daca2: allow -j option
2014-10-11 18:04:53 +02:00
Daniel Marjamäki
b96f4f53ad
daca2: removed the bailout for wxwidgets. the varid fix for typedefs seem to fix the hangs.
2014-10-11 16:48:00 +02:00
Daniel Marjamäki
a33f01a2df
daca2: skip wxwidgets for now to avoid hang
2014-10-11 14:05:11 +02:00
Daniel Marjamäki
748e3a4ba3
daca2: skip valgrind for now because it's extremely slow. see #6151
2014-10-11 07:54:41 +02:00
Daniel Marjamäki
749117a7ff
daca2: we must bailout for now when checking insighttoolkit because there is some hang
2014-04-03 17:10:35 +02:00
Daniel Marjamäki
dddd9848b8
daca2: remove ../clang/INPUTS/.. files since these take so long time to scan
2014-03-06 20:36:52 +01:00
Daniel Marjamäki
1d801ce7b1
daca2: fixed wget function
2014-02-23 10:21:00 +01:00
Daniel Marjamäki
6273a270c7
daca2: tell wget to overwrite file. We want that the correct file is used.
2014-02-22 07:52:51 +01:00
Daniel Marjamäki
cb40e83261
daca2: added --tries and --timeout in wget command
2014-01-02 16:50:12 +01:00
Daniel Marjamäki
5d31385161
daca2: fixed exitcode handling
2013-12-31 20:56:16 +01:00
Daniel Marjamäki
56a5b0d55f
daca2: If cppcheck crash, the exitcode is nonzero. Write message in the report when the exitcode is nonzero.
2013-12-31 18:24:32 +01:00
Daniel Marjamäki
663f5a14b0
daca2: avoid hang for iceowl package
2013-11-30 16:16:11 +01:00
Daniel Marjamäki
d5bb5d6b77
daca2: Change date field to date when analysis ends.
2013-11-24 10:50:16 +01:00
Daniel Marjamäki
007e2d9dd5
daca2: handle links better
2013-11-18 17:59:47 +01:00
Daniel Marjamäki
e948f4c9ee
daca2: don't remove large text files. there was some strange problem that results.txt was removed when a results.txt in a subfolder was removed.
2013-11-02 12:03:25 +01:00
Daniel Marjamäki
b577b12660
daca2: skip boost to avoid hang
2013-10-28 18:09:05 +01:00
Daniel Marjamäki
9faaef840b
daca2: check all extracted files
2013-10-27 07:53:23 +01:00
Daniel Marjamäki
aaf5bbb7ad
daca2: minor tweaks of wget and removeLargeFiles
2013-10-26 11:47:15 +02:00
Daniel Marjamäki
45e7c488a0
daca2: dont terminate when a package fails. try to continue.
2013-10-25 06:43:08 +02:00
Daniel Marjamäki
2f864dec49
daca2: fixes
2013-10-24 18:36:08 +02:00
Daniel Marjamäki
ab2864e1cb
daca2: use ls-lR file
2013-10-24 18:22:15 +02:00
Daniel Marjamäki
fc9998e439
daca2: bailout if download fails
2013-10-24 17:39:37 +02:00
Daniel Marjamäki
47766736fc
daca2: handle xz compression
2013-10-20 12:45:05 +02:00