Commit Graph

286 Commits

Author SHA1 Message Date
Daniel Marjamäki 8f386e15fd Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
Daniel Marjamäki 92316b07c8 Remove CERT addon from open source Cppcheck. The plan is to provide complete CERT C checking in Cppcheck Premium during this year. 2022-03-23 20:30:43 +01:00
Oliver Stöneberg 28955cea85
moved bug hunting in CI from defunct Travis job to (disabled) GitHub action (#3164) 2021-10-13 14:47:59 +02:00
Daniel Marjamäki 74ab8f1a48 misra; implemented rule 20.8 2021-07-22 08:46:28 +02:00
Daniel Marjamäki 071309d4a1 travis; skip juliet check it fails very often 2021-06-12 19:36:36 +02:00
Georgiy Komarov 7a009fece0
misra: Add support for expected suppressions in header files in `-verify` mode (#3252)
This commit allows to specify expected suppressions in the included
header files. This is necessary to verify MISRA checkers, which make
requirements for header files. For example, Rule 8.2 requires adding
prototypes for each function to the header files.
2021-05-08 10:27:31 +02:00
Oliver Stöneberg 98335e5d5f
moved more tests from Travis to GitHub actions (#3201) 2021-04-09 07:47:11 +02:00
Oliver Stöneberg 052de79b6d
some test/CI related refactoring and cleanup (#3163) 2021-04-03 21:22:39 +02:00
Daniel Marjamäki fef956f3f0 Testing; Moved test/cli tests from travis to github actions 2021-03-01 18:49:59 +01:00
Daniel Marjamäki 773ca43894 Try to make Travis happy 2021-02-28 23:22:27 +01:00
Daniel Marjamäki f39e605292 Travis: Run test/cli tests with python3 2021-02-28 22:12:28 +01:00
Oliver Stöneberg e783df646a
various CI refactorings and cleanups (#3142) 2021-02-21 14:17:02 +01:00
Oliver Stöneberg b1ccad5f02
some Python-related CI cleanups (#3066) 2021-02-20 13:26:28 +01:00
Oliver Stöneberg b434752e51
added docker builds for legacy/cutting edge platforms (#3138) 2021-02-20 13:23:57 +01:00
Daniel Marjamäki 5391880dc6 Travis; Quick fix of builds. pylint does not work well on Travis so remove that. 2021-01-18 08:44:06 +01:00
Oliver Stöneberg 1223750913
.travis.yml: use all available threads for CI builds (#2985) 2020-12-26 16:55:30 +01:00
Daniel Marjamäki 5e15a7fac7 Travis; Disable itc checks for now 2020-12-06 17:09:26 +01:00
Daniel Marjamäki 902da4179f Travis: Disable cve.py for now as it's too slow at the moment. We might need to tweak the script, maybe ensure there is output every minute.. or something 2020-12-06 11:35:52 +01:00
Oliver Stöneberg 9c20b29dba
improved sanitizer builds in CI (#2928) 2020-12-01 18:02:13 +01:00
Daniel Marjamäki f145ae967d run addon pytest scripts in github action because something fails on travis 2020-11-24 07:48:30 +01:00
Daniel Marjamäki 22114e3266 Travis: Quick hack try to disable test temporarily that fails 2020-11-23 22:12:11 +01:00
Daniel Marjamäki 5dbdb90541 Travis: try to make travis happy by removing a python2 command 2020-11-23 18:22:39 +01:00
Daniel Marjamäki c7cbe7f2d3 rename externals/tinyxml to externals/tinyxml2 2020-11-16 09:11:53 +01:00
Daniel Marjamäki ef5d5e84c5 Fixed #8936 (Add PicoJSON Copyright notice) 2020-11-14 21:31:50 +01:00
Rikard Falkeborn c6036f8704
travis: Test htmlreport with python2 and python3 (#2862) 2020-11-04 21:03:46 +01:00
Daniel Marjamäki e331168481 CI: Move tasks from Travis to 'github actions' to speed up CI 2020-09-05 18:29:19 +02:00
Daniel Marjamäki b56732ef20 Travis: commented out pylint temporarily because there is some syntax error in pylint. These commands should be uncommented when possible. 2020-08-21 19:43:19 +02:00
Daniel Marjamäki bdb7db0fd5 Travis: Try to install qt help 2020-07-20 19:04:47 +02:00
Daniel Marjamäki 14df79a53f Travis: Use json.tool instead of jsonlint as there was some installation issues 2020-07-03 19:24:10 +02:00
Daniel Marjamäki a32f268519 Travis; Reduce output in 'misc' job
[ci skip]
2020-05-20 18:30:29 +02:00
Rikard Falkeborn 041a476d14
travis: Test matchcompiler with both python2 and python3 (#2644) 2020-05-16 07:33:55 +02:00
Daniel Marjamäki 2acfd2bcd4 Try to make Travis happy 2020-05-13 04:45:45 +02:00
Daniel Marjamäki 3e650c311b Remove NEW_Z3 macro 2020-05-12 16:57:07 +02:00
Daniel Marjamäki 02d88cb191 Travis: Run TestExprEngine tests 2020-05-08 12:21:22 +02:00
Daniel Marjamäki c04a73f6d8 Travis: Improve bug hunting testing 2020-05-07 18:55:22 +02:00
Daniel Marjamäki 64bc96c2de Travis: changed ITC download url 2020-05-06 11:15:34 +02:00
Daniel Marjamäki 6a2ed326e8 Travis: attempt to fix download of itc test suite 2020-05-06 09:33:43 +02:00
Daniel Marjamäki 5ccc2202f7 Travis: Try to fix build misc 2020-05-06 08:20:27 +02:00
Daniel Marjamäki e78a13a1e8 Travis: Try to fix bug hunting testing 2020-05-06 07:32:25 +02:00
Daniel Marjamäki 152d078090 Travis: Run itc bug hunting tests 2020-05-05 22:32:05 +02:00
Daniel Marjamäki c8bda0fbff Travis: Remove TestExprEngine for now, that does not work well 2020-05-01 15:22:04 +02:00
Daniel Marjamäki 1ea6c34df0 Travis: add some bug hunting tests 2020-05-01 14:09:47 +02:00
Oliver Stöneberg e3b644d877
aligned GCC warnings (#2592)
* excluded oss-fuzz related CMake targets from all

* checkstl.cpp: fixed -Wmissing-declarations warning

* suppress -Wsuggest-attribute=format GCC warnings for tinyxml in CMake for now

* aligned GCC warnings in dmake, CMake and Travis / removed now useless WARNINGS_ANSI_ISO
2020-04-08 14:56:12 +02:00
Oliver Stöneberg b59f49e286
more OSS-Fuzz client work (#2581)
* cleaned up oss-fuzz targets / use LIB_FUZZING_ENGINE for actual client

* fixed some compiler warnings in oss-fuzz sources

* only build the fuzz-client in Travis

* make fuzz-client CMake target work with CMake < 3
2020-04-01 18:02:25 +02:00
Oliver Stöneberg 28cd5d7ea2
fixed OSS-Fuzz builds and added CMake targets (#2577)
* fixed compilation of OSS-Fuzz clients

* added preliminary CMake target for fuzz-client - also added *_sanitized targets of dependencies (only available with Clang)

* added oss-fuzz build to Travis CI
2020-03-31 09:33:58 +02:00
Daniel Marjamäki e789135344 Travis: Temporarily allow failures in 'make ubuntu 14.04 trusty' job 2020-02-16 20:40:37 +01:00
Daniel Marjamäki 59635e2706 Travis: install z3 library 2020-02-05 15:53:50 +01:00
Georgy Komarov 5eaf437c44
misra.py: Fix R5.4 false positives with C99 (#2516)
* parser: Parse standards node at start event

This required, because we can loose data at the end event.

* misra.py: Fix 5.4 standard-dependent error

By default Cppcheck use C11 standard, so this change fix false positives
for rule 5.4 with C99.

* travis: force --std=c89 for misra.py
2020-01-31 23:38:41 +01:00
Rikard Falkeborn ba33c7f6cd daca2: Improve package sorting using natsort (#2505)
* daca2: Improve package sorting using natsort

This switches the external dependency from semver to natsort, and
improves comparison of packages where one or more of the packages do not
use semantic versioning (major.minor.patch).

This also makes daca2-download and daca2-getpackages work with python 3.
In theory, they should work with python 2 as well, but I have not tested
it.

* Make daca2 scripts executable

* Update hashbangs to python3

* Update usage description

To avoid specifying python version in the usage description, just
show how to execute the scripts and leave the rest to the shebangs.

* No need to specify python version in start_donate_cpu_server_test_local.sh

Leave it to the hashbang instead.
2020-01-26 18:39:37 +01:00
Sebastian cd9ec5aac6
daca@home client: Require at least Python 3 from now on (#2491)
This makes it possible to implement new features like .tar.xz support
(see https://trac.cppcheck.net/ticket/9508) or aborting endlessly
running analysis via timeout (see
https://sourceforge.net/p/cppcheck/discussion/development/thread/86813a8a53/).
2020-01-16 20:01:46 +01:00