Commit Graph

91 Commits

Author SHA1 Message Date
Matthias Krüger b73090c351 travis: update checked clang version 2016-01-04 22:35:18 +01:00
Daniel Marjamäki b38559774d Removed the CPPCHECK2 ifdefs. I have no plan to remove simplifications anymore. 2015-12-28 16:26:51 +01:00
Matthias Krüger 073d5c1db4 travis: clang code check: skip test/Driver/Inputs/gen-response.c since it would make the build time out since 9a847d7. 2015-12-13 01:58:25 +01:00
Matthias Krüger f92c448d6e Revert "Adjust CXXFLAGS on travis"
This reverts commit 4ea9655685.
2015-11-10 20:44:24 +01:00
Alexander Mai 4ea9655685 Adjust CXXFLAGS on travis 2015-11-08 13:33:05 +01:00
Daniel Marjamäki 5b5cb63a64 Travis: Start to run some tests with the CPPCHECK2 define 2015-10-14 10:50:53 +02:00
Matthias Krüger 600a866983 travis: use "run-dmake" to run dmake 2015-10-07 23:52:39 +02:00
Daniel Marjamäki aab4ecc726 Revert "Travis: try to fix build problem by installing xml library"
This reverts commit f6e282f8c9.
2015-08-16 18:28:25 +02:00
Daniel Marjamäki f6e282f8c9 Travis: try to fix build problem by installing xml library 2015-08-16 17:59:41 +02:00
Matthias Krüger 7422366ebc travis: slightly simplify travis.yml 2015-07-31 15:33:27 +02:00
Matthias Krüger 7ee4579c83 travis: run generate_and_run_more_tests.sh after checking cppchecks internal sources 2015-07-22 13:32:44 +02:00
Daniel Marjamäki d02406a2ae Fix Travis script 2015-07-22 13:19:57 +02:00
Daniel Marjamäki bb95bc9fc5 Travis: run extra tests 2015-07-22 12:55:39 +02:00
Daniel Marjamäki a4d28458cd travis: use TEST_MATHLIB_VALUE define to test MathLib::value class 2015-07-16 11:14:58 +02:00
Matthias Krüger e56671101e tests: add a script which runs test/cfg tests.
add new make target (checkcfg) which builds cppcheck and executes the script
       make travis run checkcfg
2015-01-27 19:46:52 +01:00
Matthias Krüger 5fecd85a33 travis: do check clangs test/CXX/temp/temp.decls/temp.mem/p5.cpp 2015-01-18 14:19:02 +01:00
Matthias Krüger 8cf5765012 travis: update clang hash 2015-01-18 14:17:30 +01:00
Matthias Krüger 31d3aa9911 travis: clang: check test/CodeGenCXX/mangle-alias-template.cpp, it no longer makes cppcheck crash. 2014-08-27 00:09:28 +02:00
Matthias Krüger 263582ddbd travis: clang check: don't ignore test/Lexer/unicode.c, the file no longer crashes cppcheck. 2014-08-09 13:07:06 +02:00
Matthias Krüger 15a197eea6 travis: suppress current warnings, make cppcheck not crash the files in clang that crash currently. 2014-07-28 17:14:01 +02:00
Matthias Krüger 3c21acd1fa travis: update clang repo hash 2014-07-28 16:48:56 +02:00
Matthias Krüger b45bb821f2 travis: make clang check sensitive to internal cppcheck errors. 2014-07-28 16:48:56 +02:00
Matthias Krüger f16524c9dd travis: add -DCHECK_INTERNAL to the VERIFY=1 job to automatically fetch issues like #5869 via travis, check clang with --exception-handling 2014-07-28 16:48:56 +02:00
Matthias Krüger 0f2ba9e2da travis: replace kernel check with clang check.
Check clang instead of kernel, which is a lot faster.
Make clang check failure fatal to the build.
2014-07-28 16:48:56 +02:00
Matthias Krüger 523b53100a travis: check --dump 2014-07-14 20:17:40 +02:00
Matthias Krüger b4630e03ab travis: change build optimization level back to -O2 (from -O3) as discussed in
59077b06f9
2014-06-22 13:56:06 +02:00
Matthias Krüger 59077b06f9 travis: add -O3 -march=native -mtune=native to default CXXFLAGS 2014-06-18 19:30:32 +02:00
Matthias Krüger cfd7279455 travis: run cppcheck with --exception-handling where it matters 2014-06-18 19:15:06 +02:00
Matthias Krüger 94c6fa1083 travis: move CHECK_INTERNAL check up, remove "SRCDIR=build VERIFY=1" job in favor of "MAKEFLAGS="HAVE_RULES=yes" SRCDIR=build VERIFY=1"
Conflicts:
	.travis.yml
2014-06-18 19:14:25 +02:00
Matthias Krüger 1900e7b25f travis: run test_matchcompiler.py 2014-06-18 19:08:27 +02:00
Matthias Krüger 97d27835fe travis: kernel check: change crashgrepping regex to match potentially more crashes. 2014-06-05 11:35:13 +02:00
Matthias Krüger 879023b6b2 travis: compile one pair of jobs with -DCHECK_INTERNAL and run --enable=internal,...
suppress warnings in testtoken.cpp
fix warnings in valueflow
2014-05-19 21:44:00 +02:00
orbitcowboy bd242c07eb Fixed typo in travis script and tools/readme.md, no functional change. 2014-04-13 23:17:41 +02:00
Matthias Krüger 954f941bb4 travis: update to check latest major kernel version (3.14) 2014-04-03 16:56:31 +02:00
Matthias Krüger 4481015bdc dmake: "make dmake" now also runs the binary after compilation. 2014-04-03 16:41:58 +02:00
Matthias Krüger 33965e9ab9 travis: first build with clang, then with gcc, move the kernel checking job to be the last job. 2014-03-23 20:47:27 +01:00
Matthias Krüger 06ea7145bb travis: fix grep of cppcheck.cppcheck log checking cppcheck code for errors. 2014-03-18 17:36:52 +01:00
Matthias Krüger 24e1872772 travis: apply the same hack I used to work around broken exit status and kernel checking to cppcheck checking its own code (use -j2). Speeds up by around 3-4 minutes per affected job. 2014-03-18 01:58:43 +01:00
Matthias Krüger 841df2a6af travis: allow failure of the kernel job. It sometimes times out when travis is on heavy load (which is a false positive). 2014-03-17 19:47:23 +01:00
Matthias Krüger 8e47235053 travis: remove hack to terminate clang kernel jobs early, instead avoid it properly. 2014-03-17 13:23:29 +01:00
Matthias Krüger c799fe10f5 travis: remove HAVE_RULES=yes-only build. If we dealing with a clang job, abort the kernel checking, so we have basically only one compiler checking the kernel with cppcheck which should be enough. 2014-03-16 19:38:55 +01:00
Matthias Krüger 9d44062f7f travis: check kernel as part of travis testing.
add 2 more jobs (one for gcc, one for clang) which only compile Cppcheck with opimization CXXFLAGS to afterwards check a fixed version of the linux kernel to see if cppcheck crashes.
2014-03-16 11:26:53 +01:00
Matthias Krüger 685e44fb85 travis: add gdb as dependency, it is used for cppcheck-gui.
former output:

{ test -n "" && DESTDIR="" || DESTDIR=.; } && test $(gdb --version | sed -e 's,[^0-9]\+\([0-9]\)\.\([0-9]\).*,\1\2,;q') -gt 72
&& gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index $DESTDIR" -ex quit 'cppcheck-gui' && test -f
cppcheck-gui.gdb-index && objcopy --add-section '.gdb_index=cppcheck-gui.gdb-index' --set-section-flags '.gdb_index=readonly'
'cppcheck-gui' 'cppcheck-gui' && rm -f cppcheck-gui.gdb-index || true
/bin/sh: 1: gdb: not found
/bin/sh: 1: test: -gt: unexpected operator
2014-03-03 10:19:26 +01:00
Matthias Krüger 0866feaf17 travis: compile with -Wunreachable-code . 2014-02-27 16:23:55 +01:00
Matthias Krüger 4c9218981f travis: sent out build failure notification as soon as the first job fails using matrix: fast_finish: true 2014-01-17 20:46:20 +01:00
Matthias Krüger edf44d2509 travis: check the repo with cppcheck after building gui. 2014-01-12 22:47:21 +01:00
Matthias Krüger e1a5487c70 travis: let cppcheck check most of the repo, but suppress files/warnings that we don't care about via suppression file. 2014-01-12 22:47:21 +01:00
Matthias Krüger 73b7276ae9 travis: fail if Makefile is not up to date (check via dmake). 2014-01-12 22:47:21 +01:00
Matthias Krüger e049a44f63 travis: check cfg files with xmllint. 2014-01-12 22:47:21 +01:00
Matthias Krüger 21a2c4e468 travis: also check "test" directory while ignoring test.cxx 2014-01-12 22:47:21 +01:00