Commit Graph

11253 Commits

Author SHA1 Message Date
Matthias Krüger 7c1f6ab9dc travis: install deps as suggested by travis manual (via before_install) 2013-10-12 15:09:45 +02:00
Matthias Krüger 9d95200cb4 travis: check all xml files cppcheck generated during tests of htmlreport via xmllint as suggested in 'createrelease'. 2013-10-12 15:09:45 +02:00
Matthias Krüger a92e73dc18 travis: check htmlreport via --errorlist output 2013-10-12 15:09:45 +02:00
Daniel Marjamäki 783bb6eb0b Test that there is no segfault in CheckOther::checkZeroDivisionOrUselessCondition when the SymbolDatabase is invalid. Ticket: #5045 2013-10-10 22:23:52 +02:00
orbitcowboy 6eaa2f2444 Tokenizer:simplifyMathFunctions: added support for acos[f|l] functions. 2013-10-09 07:59:32 -07:00
orbitcowboy 58c09f80b6 Testother: split up a large testfunction, no functional change. 2013-10-09 07:48:46 -07:00
Daniel Marjamäki f4020b8838 Merge pull request #180 from matthiaskrgr/travis
travis: check cppcheck-htmlreport compatibility with --inconclusive and --verbose flags
2013-10-08 22:34:08 -07:00
Daniel Marjamäki 682e68b1b6 Fixed #5077 (False positive: Comparison of boolean result with relational operator ((X + (Y < 0)) <= b)) 2013-10-09 05:43:50 +02:00
Matthias Krüger 38290120c9 travis: add another check for xml2 + inconclusive + verbose. 2013-10-09 01:58:37 +02:00
Matthias Krüger d552da76ff travis: check if cppcheck-htmlreport works with xml2 + --inconclusive output. 2013-10-09 01:51:56 +02:00
Daniel Marjamäki 9dfb950776 Merge pull request #178 from matthiaskrgr/make_install
Make install: install cppcheck-htmlreport and cppcheck-gui (if binary is compiled), make travis also perform make install.
2013-10-08 11:43:57 -07:00
Daniel Marjamäki ff89a08b8f Merge pull request #179 from matthiaskrgr/travis_speedup
travis: use -j 4 to build cppcheck, the testrunner and cppcheck-gui.
2013-10-08 11:42:50 -07:00
Matthias Krüger 891a85a553 travis: also check "make install" 2013-10-08 19:33:36 +02:00
Matthias Krüger 074f195f7b make install: install cppcheck-htmlreport as well. 2013-10-08 19:33:36 +02:00
Matthias Krüger ee1d37d100 travis: use -j 4 to build cppcheck, the testrunner and cppcheck-gui. 2013-10-08 19:25:12 +02:00
Martin Ettl f08325284c Tokenizer:simplifyMathFunctions: added support for acosh[f|l]() functions. 2013-10-07 22:10:58 +02:00
Daniel Marjamäki 9ce7efc6e4 commaSeparatedReturn: made checking experimental for now because there are false positives (#5076) 2013-10-08 18:05:07 +02:00
orbitcowboy 90b2c5ddce testtokenize: split up large testcases for simplifying math functions. 2013-10-08 07:05:05 -07:00
Daniel Marjamäki 4f88fdcf4a Check64Bit: Fixed false positive about returning integer for 'p+(n*80)' 2013-10-08 06:36:45 +02:00
Robert Reif 1959377423 Fixed #4963 (cppcheck and testrunner Visual Studio 2008 build failure) 2013-10-08 05:36:52 +02:00
Robert Reif 41b3ed788d CheckIO: fix crash 2013-10-08 05:33:37 +02:00
Daniel Marjamäki 9271286425 Merge pull request #175 from matthiaskrgr/htmlreport
mention --help in cppcheck-htmlreport readme & implement 2 tests for it into travis
2013-10-07 10:32:48 -07:00
Daniel Marjamäki a46a05cffa Merge pull request #176 from myint/cd
Allow running "test_htmlreport.py" from any path
2013-10-07 10:10:56 -07:00
Daniel Marjamäki a98460fd7e Merge pull request #177 from matthiaskrgr/travis
travis: build cppcheck-gui
2013-10-07 10:10:27 -07:00
Daniel Marjamäki f9cf148012 CheckBool: Skip 'bool' type checking in C code 2013-10-07 18:41:07 +02:00
Daniel Marjamäki b81de5494e CheckBool: Fixed false positive for calculation using bool result in rhs 2013-10-07 18:01:08 +02:00
Daniel Marjamäki d2025363d0 CheckBool: Fix false positive for '(a != boolexpr || c)' if a is a int 2013-10-07 17:44:19 +02:00
Matthias Krüger 1cbc8a5d6d travis: build cppcheck-gui 2013-10-07 16:58:53 +02:00
Daniel Marjamäki 83f9503839 CheckBool: Fixed false positives for non-bool expressions that contain ! operator 2013-10-07 16:37:51 +02:00
Steven Myint 9475a7d029 Allow running "test_htmlreport.py" from any path
This fixes a Travis CI failure.
2013-10-07 07:36:34 -07:00
Daniel Marjamäki 023d0e7cb8 Fixed #5072 (False positive: comparisonOfBoolWithInvalidComparator even without explicit bool type) 2013-10-07 16:16:07 +02:00
Matthias Krüger 717680fdd9 travis: run cppcheck-htmlreport on 2 xml files as test. 2013-10-07 16:15:21 +02:00
Matthias Krüger f324a1a736 htmlreport: mention the --help option in the readme. 2013-10-07 16:03:26 +02:00
Daniel Marjamäki a0015fc2f4 Travis: remove -q flag. It may avoid a timeout. 2013-10-07 16:00:26 +02:00
PKEuS 7435df91b8 Merge pull request #174 from myint/test
Fix typo in getting line number
2013-10-07 06:44:38 -07:00
Steven Myint e183a826c5 Fix typo in getting line number
The closing parenthesis was in the wrong place resulting in the default
value not getting set. This adds a test case.
2013-10-07 06:38:49 -07:00
Daniel Marjamäki f5593d5dd9 Merge pull request #173 from myint/master
Handle "--xml-version=2" in cppcheck-htmlreport
2013-10-06 22:47:42 -07:00
Steven Myint 6ad30a1c69 Handle "--xml-version=2"
This also adds "test_htmlreport.py" to the Travis CI tests.
2013-10-06 13:34:48 -07:00
Daniel Marjamäki 3f1e074846 reduce: Fixed compiler error (MathLib::longToString() doesnt exist) 2013-10-06 19:07:47 +02:00
Daniel Marjamäki 4cd0108b93 Fixed #4976 (False positive: (style) A pointer can not be negative (git/sha1_file.c)) 2013-10-06 16:52:27 +02:00
Daniel Marjamäki 0ef1529ba5 Fixed #5005 (false positive: (warning) Assignment of function parameter has no effect outside the function.) 2013-10-06 16:07:27 +02:00
Daniel Marjamäki 1234ec95f0 Fixed #4998 (False positive: Address of local auto-variable assigned to a function parameter) 2013-10-06 14:23:26 +02:00
Daniel Marjamäki 9f23b7a1b4 Fixed #5063 (False positive for comparisonOfBoolWithInvalidComparator) 2013-10-06 10:39:08 +02:00
Daniel Marjamäki c234cace6d Fixed #5064 (Tokenizer::simplifySizeof: Doesn't simplify 'sizeof !! (a==1);' properly) 2013-10-06 08:20:10 +02:00
Daniel Marjamäki 9cfc1030cd Tokenizer: Optimised loop 2013-10-06 07:46:35 +02:00
Daniel Marjamäki 33e69df6ae Fixed #5066 (buildman.sh fails) 2013-10-06 07:11:12 +02:00
Daniel Marjamäki 946722faf0 Fixed #4968 (False positive: Structure with 'read' member is confused with read() function.) 2013-10-05 18:25:44 +02:00
XhmikosR 564d36698b htdocs: run node make. 2013-10-05 18:16:21 +03:00
XhmikosR 8fd8398379 htdocs: add Google Analytics support.
Use IP Anonymization.
2013-10-05 18:15:44 +03:00
Robert Reif 7098fc6039 CheckIO: fixed handling of unknown types. Ticket #5051 2013-10-05 16:47:06 +02:00