Daniel Marjamäki
34fb24d5a9
tools/extracttests.py: test code was not extracted properly for some tests ( #5776 )
2023-12-17 20:04:17 +01:00
Daniel Marjamäki
2932ab7592
Revert "Fixed #12071 (suppressing critical error, no indication to user that analysis of file fails) ( #5771 )" ( #5775 )
...
This reverts commit 7c316fb76d
.
2023-12-17 19:13:14 +01:00
Daniel Marjamäki
7c316fb76d
Fixed #12071 (suppressing critical error, no indication to user that analysis of file fails) ( #5771 )
2023-12-17 15:42:17 +01:00
omarandlorraine
6488650d24
use python3 on debians too ( #3812 )
...
* use python3 on debians too
in Debian 11 which is Bullseye, /usr/bin/python is a Python2
interpreter, which means that cppcheck-htmlreport fails to run here.
So I've chenged the shebang to use python3
* change all shebangs from python to python3
Co-authored-by: Sam M W <smw@alertergroup.co.uk>
2022-11-03 22:14:30 +01:00
Oliver Stöneberg
a03d754d19
more copyright fixes ( #3771 )
2022-01-28 18:30:12 +01:00
Paul Fultz II
8c9c46835a
Fix for 6597: false negative: uninitialized variable usage not detected (ValueFlow , multi variables) ( #3535 )
2021-10-30 22:13:58 +02:00
Daniel Marjamäki
2cfe05b256
extracttests; allow several check functions
2021-05-22 09:43:56 +02:00
Daniel Marjamäki
2c10e0747a
extracttests: ensure error comment is written on proper line
2021-05-16 08:40:04 +02:00
Daniel Marjamäki
db050d0796
extracttests: write expected warning as comment in testfile
2021-05-15 19:59:28 +02:00
Daniel Marjamäki
2925627eb6
extracttests.py: add a few missing includes
2021-05-13 20:50:24 +02:00
Daniel Marjamäki
6d3d907e10
extracttests.py: Fix syntax error
2021-05-13 20:33:27 +02:00
Daniel Marjamäki
d549770b5b
updated extracttests.py. fix syntax errors in test cases.
2021-05-13 20:21:02 +02:00
Daniel Marjamäki
6890757986
Update Copyright year
2019-12-21 11:23:01 +01:00
Sebastian
828a3fda1f
pylintrc_travis: Enable more checks, fix anomalous-backslash-in-string issues ( #2334 )
2019-11-06 17:49:37 +01:00
Daniel Marjamäki
c4caee6b18
Updated copyright year
2018-01-14 15:37:52 +01:00
Daniel Marjamäki
b1a4860a0c
extracttests.py: allow that only TP tests are extracted
2017-09-22 23:23:36 +02:00
Ayaz Salikhov
2dd6168258
Improve Python code
2017-06-04 22:51:48 +02:00
Daniel Marjamäki
ca4f55ec4c
Cleanup Copyrights. Now all should be just for Cppcheck team.
2016-01-01 23:04:16 +01:00
Lauri Nurmi
996c9244d8
Update copyright year to 2007-2016.
2016-01-01 15:34:45 +02:00
Daniel Marjamäki
c67776c04d
Testing: extract testcases, edit comparisons, run cppcheck, compare results
2015-07-22 09:52:24 +02:00
Daniel Marjamäki
ff11ba9847
Updated copyright year to 2015
2015-01-03 12:14:58 +01:00
Thomas Jarosch
91e45ba8d7
pep8 fix
...
pep8 reported:
extracttests.py:233:16: E713 test for membership should be 'not in'
2014-12-22 14:27:47 +01:00
Matthias Krüger
a9df4a3288
man, htdocs, gui, test, tools: bump a few more copyrights to 2014
2014-03-03 11:03:17 +01:00
Daniel Marjamäki
88447385c2
autopep8 formatting
2013-10-18 17:35:59 +02:00
XhmikosR
ae73466f97
Python scripts: PEP8 fixes
2013-03-03 09:59:16 +01:00
Thomas Jarosch
fdcfbd5ff9
Add missing copyright header
2013-01-10 11:10:45 +01:00
Thomas Jarosch
a2885a1759
Python 3 compatibility for the helper scripts
...
print() is a function in python 3.
Works with pyhton 2.x, too.
2012-12-25 13:12:58 +01:00
XhmikosR
9b5c245899
tabs to spaces, remove trailing spaces and extra empty lines at the end of files
2012-09-29 13:49:16 +02:00
Daniel Marjamäki
5cc5330d95
extracttests.py: reverted last change. see comments on github.
2011-12-07 21:49:34 +01:00
Daniel Marjamäki
ab348387b5
extracttests.py: python 3 compatibility updates
2011-12-07 17:05:24 +01:00
Daniel Marjamäki
e9546c5042
extracttests.py: create output folders if they dont exist
2011-12-04 21:46:56 +01:00
Daniel Marjamäki
8e9097bce7
extractpython.py: cleanup
2011-12-02 19:08:04 +01:00
Daniel Marjamäki
712ca42985
extracttests: refactorings. dont include dynamic strings in the listing
2011-12-02 18:33:17 +01:00
Daniel Marjamäki
ca9dbfc031
extracttests.py : improved errors.txt output
2011-11-29 21:35:57 +01:00
Daniel Marjamäki
16ae2f49ca
extracttests.py: minor code fixes of --code handling
2011-11-29 10:13:37 +01:00
Daniel Marjamäki
7624313808
extracttests.py: added option to output test files
2011-11-28 22:17:06 +01:00
Daniel Marjamäki
c0770f0823
extracttests.py: improved command line parser
2011-11-27 17:11:38 +01:00
Daniel Marjamäki
ac06f34627
extracttests.py: cleaned up the code for parsing of command line
2011-11-27 15:24:13 +01:00
Daniel Marjamäki
681e4ba314
extracttests.py: exit if wrong command line is given
2011-11-27 14:11:15 +01:00
Daniel Marjamäki
ce2be7cbe3
extracttests.py: reduce line lengths
2011-11-27 13:49:20 +01:00
Daniel Marjamäki
370018d313
extracttests.py: close input file
2011-11-27 11:43:13 +01:00
Daniel Marjamäki
54eeb76a71
extracttests.py: renamed 'str' to 'string'
2011-11-27 11:40:23 +01:00
Daniel Marjamäki
0c54f88dd0
extracttests.py: added docstrings. added navigation links.
2011-11-27 11:35:01 +01:00
Daniel Marjamäki
db186b2c25
extracttests.py: allow user to see 'error cases only'
2011-11-27 10:26:35 +01:00
Daniel Marjamäki
315ce1db40
extracttests.py: added function 'trimname'
2011-11-27 08:32:07 +01:00
Daniel Marjamäki
52caadf957
extracttests.py: Added a little help info
2011-11-27 08:13:11 +01:00
Daniel Marjamäki
9c626b941a
extracttests.py: Added tool for extracting test information
2011-11-27 08:06:11 +01:00