Commit Graph

429 Commits

Author SHA1 Message Date
Alexander Mai 9ac83d7624 reduce is linking against LIBS as well, to keep build scripts e.g. on travis working 2014-04-11 23:24:47 +02:00
Alexander Mai fb13c56ef0 Makefile: reduce now also depends on LIBOBJ: command not found 2014-04-11 22:27:29 +02:00
Daniel Marjamäki c27a482a84 Merge pull request #284 from matthiaskrgr/dmake
"make dmake" will now compile dmake and directly run it afterwards, bump kernel version checked by travis to 3.14
2014-04-05 08:23:15 +02:00
Daniel Marjamäki 749117a7ff daca2: we must bailout for now when checking insighttoolkit because there is some hang 2014-04-03 17:10:35 +02:00
Matthias Krüger 4481015bdc dmake: "make dmake" now also runs the binary after compilation. 2014-04-03 16:41:58 +02:00
Daniel Marjamäki 22c4d45ca0 astyle formatting 2014-03-31 03:06:57 +02:00
Alexander Mai 0242a3c188 -rdynamic cannot be used on mingw 2014-03-30 20:50:03 +02:00
Daniel Marjamäki 568b9677d7 daca2: Added script that downloads all packages and save reduced archives in the folder ~/daca2-packages 2014-03-23 11:45:29 +01:00
Alexander Mai 29165f3e5f Add -rdynamic to the linker flags to allow obtaining a bracktrace 2014-03-21 22:33:07 +01:00
XhmikosR 1df5ccf315 daca2-report.py: add missing new line in the generated HTML.
[ci skip]
2014-03-21 20:38:02 +02:00
XhmikosR fc54e6acc4 Trim tailing spaces and convert tabs to spaces. 2014-03-18 17:00:28 +02:00
XhmikosR 4928dc52bb daca2: Move style into daca2.css. 2014-03-18 16:50:38 +02:00
XhmikosR b608a8904a Minify sorttable.min.js and use that in daca2-report.py. 2014-03-18 16:48:03 +02:00
Matthias Krüger 76fb3903ff tools: times.sh: show more information in stdout (while still printing it to the log), compute averages of runs, automatically compile and run "times" binary after generating the log. 2014-03-17 02:12:37 +01:00
XhmikosR 66e448f0fd daca2-report.py: tweak style more.
[ci skip]
2014-03-16 13:27:24 +02:00
XhmikosR 9e80080738 Add sorttable.js to the repository. 2014-03-16 13:22:22 +02:00
XhmikosR c7b2f08782 daca2-report.py: move script inclusion after any style.
[ci skip]
2014-03-16 13:14:19 +02:00
XhmikosR bfd388dc15 daca2-report.py: fix CSS style.
[ci skip]
2014-03-16 12:19:52 +02:00
XhmikosR 98fcaa7a9e daca2-report.py: remove unneeded end tags.
[ci skip]
2014-03-16 12:08:58 +02:00
Matthias Krüger ea18e4b245 daca: count varid 0 occurences per file. 2014-03-12 12:49:06 +01:00
XhmikosR aabee422e0 PEP8 fixes. 2014-03-11 17:42:14 +02:00
Alexander Mai b44c1b52ee daca2: made mainpage report sortable 2014-03-09 08:33:27 +01:00
Simon Martin a3d1cac79c Ticket #5373: Keep track whether tokens come from a C or C++ file to properly handle %type% in Token::Match with "delete" 2014-03-08 21:26:06 +01:00
Daniel Marjamäki dddd9848b8 daca2: remove ../clang/INPUTS/.. files since these take so long time to scan 2014-03-06 20:36:52 +01:00
Daniel Marjamäki 5eb79f0fa5 Merge pull request #252 from matthiaskrgr/dmake_externals
Dmake externals
2014-03-04 06:04:11 +01:00
Matthias Krüger c108321329 dmake: when building cppcheck. do not include "externals" dir, there are no files in there (only the tinyxml dir which is already handled via -Iexternals/tinyxml). 2014-03-03 12:09:21 +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 43d48574c5 ci.py: fixed daca2folder() when results is empty 2014-02-23 10:26:01 +01:00
Daniel Marjamäki 1d801ce7b1 daca2: fixed wget function 2014-02-23 10:21:00 +01:00
Daniel Marjamäki 6273a270c7 daca2: tell wget to overwrite file. We want that the correct file is used. 2014-02-22 07:52:51 +01:00
Lauri Nurmi 91340d4043 Emulate the C++11 'nullptr' and 'static_assert' 2014-02-15 07:52:17 +01:00
Daniel Marjamäki fd3a8a2a18 Update copyright 2014-02-15 07:45:39 +01:00
Daniel Marjamäki b88fbb9857 CI: run daca2 on oldest folder 2014-02-07 06:37:42 +01:00
Matthias Krüger ec7e54c123 daca2: count crashes of cppcheck in index table. 2014-01-29 12:54:52 +01:00
Daniel Marjamäki a7146916b1 Makefile: added -Wno-sign-compare. I don't like this warning 2014-01-18 09:51:48 +01:00
Ryan Pavlik 065db3d9f6 Add a rule to the cli makefile to actually build TinyXML2 2014-01-17 15:52:05 -06:00
Matthias Krüger 0cfd60aa34 travis: rewrite config file.
Uses CXXFLAGS -O2 instead of default flags to speed up self checking.

Testing is done with the following settings:

1) gcc    CXXFLAGS=-O2
2) gcc    CXXFLAGS=-O2  SRCDIR=build VERIFY=1
3) gcc    CXXFLAGS=-O2  MAKEFLAGS="HAVE_RULES=yes"
4) gcc    CXXFLAGS=-O2  SRCDIR=build VERIFY=1  MAKEFLAGS="HAVE_RULES=yes"
5) clang  CXXFLAGS=-O2
6) clang  CXXFLAGS=-O2  SRCDIR=build VERIFY=1
7) clang  CXXFLAGS=-O2  MAKEFLAGS="HAVE_RULES=yes"
8) clang  CXXFLAGS=-O2  SRCDIR=build VERIFY=1  MAKEFLAGS="HAVE_RULES=yes"

Changes made to before_install:
installe libpcre3

Changes made to script:
* make and make test are now called seperately
* cppcheck also checks "build" folder (created by SRCDIR=build) if existing.
* gui is built twice, one time with HAVE_RULES=yes as qmake argument and one time without it.
* a script has been added and run which returns false if cppcheck --showtime=top5 does not return 7 lines indicating that something is broken
2014-01-12 22:47:21 +01:00
Daniel Marjamäki 424675982a dmake: use -std=c++0x instead of -std=c++11 as it's supported by earlier gcc 2014-01-12 15:38:51 +01:00
Daniel Marjamäki 50c8075b15 dmake: use -std=c++11 even if CXXFLAGS is redefined 2014-01-12 13:47:53 +01:00
Daniel Marjamäki 4224f873fd dmake: added -std=c++11 flag 2014-01-12 13:14:46 +01:00
Daniel Marjamäki d618730c96 Merge pull request #211 from matthiaskrgr/filemodes
make tools/times-tags.sh and tools/times.sh executable (mode 755).
2014-01-05 22:17:55 -08:00
Daniel Marjamäki af8f5ef57c daca2: remove aws code from daca2-report 2014-01-06 06:51:04 +01:00
Matthias Krüger bf34a0aafa make tools/times-tags.sh and tools/times.sh executable (mode 755). 2014-01-05 13:58:59 +01:00
Daniel Marjamäki 0851408a26 times.sh: Use SRCDIR to get more accurate results 2014-01-05 13:07:32 +01:00
Daniel Marjamäki cb40e83261 daca2: added --tries and --timeout in wget command 2014-01-02 16:50:12 +01:00
Daniel Marjamäki 5d31385161 daca2: fixed exitcode handling 2013-12-31 20:56:16 +01:00
Daniel Marjamäki 56a5b0d55f daca2: If cppcheck crash, the exitcode is nonzero. Write message in the report when the exitcode is nonzero. 2013-12-31 18:24:32 +01:00
Daniel Marjamäki a3a8edc00d ci: use CFGDIR flag 2013-12-28 12:17:30 +01:00
Daniel Marjamäki 9e0d7d86e9 dmake: Improved handling of CFGDIR 2013-12-28 12:15:08 +01:00
Lucas Manuel Rodriguez 4a46029ba6 Add readme.md for 'tools' directory 2013-12-27 13:58:08 -02:00