Commit Graph

288 Commits

Author SHA1 Message Date
Oliver Stöneberg 5e2afacdb9
Moved some stuff from Travis to GitHub Actions / Cleanups () 2022-05-31 19:53:50 +02:00
Oliver Stöneberg 56ac230e97
added strict cfg check ()
* runtests.sh: added strict mode - enabled via `STRICT=1`

* CI-unixish.yml: added strict cfg check

* runtests.sh: disabled syntax check for kde.cpp since `kde-4config` is no longer commonly available in recent distros

* runtests.sh: disabled syntax check for opencv2.cpp since `opencv.pc` is not commonly available in distros

* runtests.sh: added missing trailing slash to `CFG` - fixes define checks
2022-05-10 13:03:58 +02:00
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 () 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 ()
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 () 2021-04-09 07:47:11 +02:00
Oliver Stöneberg 052de79b6d
some test/CI related refactoring and cleanup () 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 () 2021-02-21 14:17:02 +01:00
Oliver Stöneberg b1ccad5f02
some Python-related CI cleanups () 2021-02-20 13:26:28 +01:00
Oliver Stöneberg b434752e51
added docker builds for legacy/cutting edge platforms () 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 () 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 () 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 (Add PicoJSON Copyright notice) 2020-11-14 21:31:50 +01:00
Rikard Falkeborn c6036f8704
travis: Test htmlreport with python2 and python3 () 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 () 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 ()
* 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 ()
* 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 ()
* 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 ()
* 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