Commit Graph

743 Commits

Author SHA1 Message Date
Daniel Marjamäki 31ac889d38 rundaca2: remove cpulimit option 2018-05-04 22:34:04 +02:00
Daniel Marjamäki 8d3570debf triage: use the codeeditor in the gui 2018-05-02 12:59:34 +02:00
Daniel Marjamäki 3c1e39f246 daca2-addons: make it work again 2018-05-02 12:59:07 +02:00
Daniel Marjamäki 47ba7abf0b triage: updated the codeeditor 2018-05-02 10:57:04 +02:00
Daniel Marjamäki 3ef1627d11 Fix noCopyConstructor and noOperatorEq warnings in tools/triage/mainwindow.h 2018-05-01 10:55:06 +02:00
Daniel Marjamäki 2470c711e4 Fix some more Travis warnings 2018-05-01 09:43:51 +02:00
Daniel Marjamäki fce7a0a128 dump: add Function::type 2018-04-30 16:52:51 +02:00
Daniel Marjamäki 05184555b2 clang-ast: print constructors and destructors 2018-04-30 15:42:40 +02:00
Daniel Marjamäki 1bb7c7fbf2 clang-ast: ensure that '-std=c++11' is used 2018-04-30 10:28:44 +02:00
Daniel Marjamäki 45a89b1c46 compare-ast-clang-and-cppcheck: Write some statistics. 2018-04-30 10:24:01 +02:00
Daniel Marjamäki aff108a16f compare-ast-clang-and-cppcheck: Added script that compares the clang and cppcheck AST. For now it only checks if the SymbolDatabase contains the proper function objects. 2018-04-30 10:18:33 +02:00
Daniel Marjamäki f44f726e10 clang-ast: argument is source file. show CXXMethod also. 2018-04-29 22:37:18 +02:00
Daniel Marjamäki 68cd43d3f9 clang-ast: add tool that uses libclang to output ast for a file 2018-04-29 22:22:32 +02:00
alexander 795f244804 Omit test/synthetic from tags file 2018-04-19 22:42:04 +02:00
Daniel Marjamäki a8cd2ac0ea triage: update project file 2018-04-16 10:50:56 +02:00
Daniel Marjamäki 8c082f1b3f Remove lib/cxx11emu.h 2018-04-09 22:28:41 +02:00
Daniel Marjamäki 7e4dba6a7e Updated copyright year 2018-03-31 20:59:09 +02:00
amai2012 27d4495d41 Add executable bit to reduce.py 2018-03-21 09:13:26 +01:00
Daniel Marjamäki dfd8ef5d52 generate_cfg_tests: fix argument count 2018-03-19 20:46:55 +01:00
Daniel Marjamäki e932c44ae6 generate cfg tests: updated NULL pointer testing 2018-03-18 19:04:17 +01:00
Daniel Marjamäki 0741c389c0 generated cfg tests: updates, most unmatched suppressions are removed now 2018-03-18 14:06:26 +01:00
Daniel Marjamäki c800ac5118 generate_cfg_tests: updating testing for not-null 2018-03-18 13:53:46 +01:00
Daniel Marjamäki 914eea7ed1 generated cfg tests: updated test files 2018-03-18 13:22:33 +01:00
Daniel Marjamäki 52fb9d3743 generate_cfg_tests: Added tool that generates test cases from cfg file 2018-03-18 12:50:55 +01:00
Daniel Marjamäki e6cd8498a8 tools/triage: updated codeeditor 2018-02-17 22:26:35 +01:00
Sebastian 78cceea8f6
dmake: Fix windows project and build (#1091)
Replace legacy dmake.vcproj with according .sln and .vcxproj files.
Update windows code in filelister.cpp so dmake compiles and works again.
2018-02-17 06:31:12 +01:00
Daniel Marjamäki cc2eb14130 daca2-report: fixes 2018-02-15 21:21:43 +01:00
amai 0f00259a96 Validate platform files 2018-02-15 20:35:12 +01:00
Daniel Marjamäki 791f85295c tools/compare.cs: changed format for error message 2018-02-15 15:17:04 +01:00
Daniel Marjamäki a796330a50 tools/compare.cs: Rename methods 2018-02-15 14:50:13 +01:00
Daniel Marjamäki f5b0f1f792 tools/combine.cs: handle daca2 template output 2018-02-14 10:52:56 +01:00
Daniel Marjamäki 2f4261e405 tools/compare.cs: change color theme 2018-02-13 13:15:39 +01:00
Daniel Marjamäki 22db3d77f7 daca2-report.py: fixed pep8 warning 'E713 test for membership should be 'not in'' 2018-02-13 09:31:05 +01:00
Daniel Marjamäki fe1ae7240a python formatting. Run autopep8 and replace tabs with spaces.
autopep8 -i --max-line-length=160 *.py
    sed -i 's/\t/    /' *.py

[ci skip]
2018-02-13 09:26:11 +01:00
Daniel Marjamäki f624905534 tools/compare.cs: minor tweaks 2018-02-12 21:12:40 +01:00
Daniel Marjamäki cd5adf0707 tools/compare.cs: Added a tool that compare reports and generate a webreport 2018-02-12 16:24:13 +01:00
Daniel Marjamäki c26ae955ad tools/triage: set proper shuffle seed, less priority for results in tests 2018-02-09 21:44:53 +01:00
Daniel Marjamäki c650c8a111 tools/triage: try to unpack package from ~/daca2-packages 2018-02-08 22:18:50 +01:00
Daniel Marjamäki a2d9b3fbb3 triage: moved source code 2018-02-08 08:27:16 +01:00
Daniel Marjamäki 7a4b0fb0e5 daca2-report: refactoring 2018-02-07 20:02:19 +01:00
Daniel Marjamäki 21c7bc9291 daca2-report: Write a summary at the bottom 2018-02-07 15:38:07 +01:00
Matthias Krüger f009cfc845 fix some typos found by codespell. 2018-02-04 20:53:43 +01:00
Daniel Marjamäki 6ce9646ac6 Triage: If there are more than 100 results then pick 100 random warnings 2018-02-04 16:14:33 +01:00
Daniel Marjamäki 7b5e994f29 triage: better handling of error messages with notes 2018-02-04 09:12:41 +01:00
Sebastian d9952dc6cf
tools/run_more_tests.sh: Fixed comment
Name of the script that uses this script was wrong.
2018-02-02 11:27:38 +01:00
Sebastian 402807b3b0 daca2.py Minor fix: fomat string argument (found by Codacity) (#1037)
* daca2.py Minor fix: fomat string argument (found by Codacity)

* daca2.py: Change print call to logging.critical call
2018-01-23 13:05:07 +01:00
Daniel Marjamäki c4caee6b18 Updated copyright year 2018-01-14 15:37:52 +01:00
Daniel Marjamäki 1ad797d220 Tools: Added script that runs coverity and uploads the result 2018-01-06 11:58:46 +01:00
Daniel Marjamäki 5eee9d6d18 tools/triage: Load results from file instead of pasting them 2018-01-02 23:39:30 +01:00
Daniel Marjamäki 95d8534d89 rundaca: increase cpu limit 2018-01-02 22:01:39 +01:00
Daniel Marjamäki d3f0f7ff12 tools/trac-keywords.py: dont include empty keyword 2018-01-01 23:08:58 +01:00
Daniel Marjamäki 2ad8ed0931 Tools: Add simple script that extract keywords from given trac database 2018-01-01 22:56:47 +01:00
Daniel Marjamäki 3b6fbd067e triage: small tweaks 2018-01-01 10:52:51 +01:00
Daniel Marjamäki 4c490b599b Tools: Add simple tool to triage daca results 2018-01-01 09:22:11 +01:00
Daniel Marjamäki 791c633d18 daca: limit cpu usage 2017-12-30 23:07:17 +01:00
Daniel Marjamäki 2545a628b2 rundaca2: fix import 2017-10-03 17:37:08 +02:00
Daniel Marjamäki a1df585ec1 rundaca2: if file upload fails, retry 2017-09-28 09:57:13 +02:00
Daniel Marjamäki b1a4860a0c extracttests.py: allow that only TP tests are extracted 2017-09-22 23:23:36 +02:00
Daniel Marjamäki 4bd251a6d9 daca2: skip docs and examples.. that might be garbage 2017-09-15 22:19:11 +02:00
Ayaz Salikhov f0b5327450 Fix codestyle (#953) 2017-09-07 13:00:46 +02:00
Daniel Marjamäki 4ca004c836 daca2-search.cgi: write summary if no arguments are used 2017-09-05 21:48:39 +02:00
Matthias Krüger bdef3f4582 daca2: add script which crawls the daca logs and feeds them into a git repository.
This can be used to track daca changes over a period of time.
2017-09-03 22:31:36 +02:00
Daniel Marjamäki e3439c0bbf daca2: added search script 2017-09-03 22:15:28 +02:00
amai 74d9883260 Use shorter rules for linking the executables 2017-08-22 23:01:18 +02:00
orbitcowboy 7c5d14bf66 Updated dmake: activated validateCFG when 'make checkcfg' is called. 2017-07-29 12:42:43 +02:00
Ayaz Salikhov 2e6a22e882 Improve Python code 2017-07-22 11:05:50 +02:00
Matthias Krüger 159e420146 dmake: fix SRCDIR=build build.
The problem was hardcoded "lib" path which needs to be $(SRCDIR)
2017-06-21 17:59:00 +02:00
Daniel Marjamäki 2665e6e60c Fix dmake, it now depends on simplecpp::simplifyPath 2017-06-21 15:29:00 +02:00
Ivan Ryabov 170cfc24a2 Make detection of clang++ compiler more robust (#915)
* Make detection of clang++ compiler more robust
* Updated makefile generator
2017-06-16 12:56:29 +02:00
Daniel Marjamäki fc79941828 fix matchcompiler.py 2017-06-05 13:41:38 +02:00
Ayaz Salikhov 3dc4188292 Improve Python code 2017-06-05 13:23:00 +02:00
Ayaz Salikhov 2dd6168258 Improve Python code 2017-06-04 22:51:48 +02:00
Daniel Marjamäki 68127adc57 daca2: minor cleanup 2017-06-04 14:09:41 +02:00
Daniel Marjamäki 2106099029 daca2: print error message (DacaWrongData) instead of crashing when wrong data is seen 2017-06-04 14:05:34 +02:00
Daniel Marjamäki 4c62190e32 daca2: dont upload results if password is not set 2017-06-03 15:53:43 +02:00
Daniel Marjamäki 6ac1aafa49 daca2-report: better handling when no packages found 2017-06-03 14:03:16 +02:00
Daniel Marjamäki 73ac088688 daca2 fixes 2017-06-03 12:10:41 +02:00
Daniel Marjamäki dd4353fac8 daca2: run stable and unstable separately 2017-06-03 11:34:11 +02:00
Daniel Marjamäki bbe90bdbdb daca2: fix comment 2017-05-27 21:12:13 +02:00
uburuntu d41d091c07 ENH: perfomance: seeking of one char is more efficiently 2017-05-27 04:15:54 +02:00
Daniel Marjamäki 0262020707 --template: Removed 'clang' and renamed 'cppcheck2' to 'daca2' 2017-05-25 05:24:42 +02:00
Matthias Krüger 3930f2d6bc try to fix "make" target (was broken due to missing comment-char). 2017-05-24 00:25:14 +02:00
amai cea82c4ee9 Add validateCFG target to validate library files against RNG 2017-05-24 00:07:59 +02:00
Daniel Marjamäki a3c0eecccf Added --template=cppcheck2 output format 2017-05-23 12:19:11 +02:00
Daniel Marjamäki 19fb99d6e8 daca2-report: update counters for clang format 2017-05-22 10:54:17 +02:00
Daniel Marjamäki 882e1e6064 daca2: use 'clang' output template 2017-05-22 07:44:58 +02:00
Dmitry Marakasov 94d39f6e91 Fix matchcompiler failure in case of parallel build
During parallel build, multiple processes will try to create build_dir
in parallel, so the build will fail. Fix that by calling makedirs
unconditionally and ignoring errors from it. If there's actual
problem with directory creation, it'll be caught later by isdir()
check.
2017-05-20 23:25:52 +02:00
amai 8fa4a92ce1 Make tags target phony. Add entry to gitignore 2017-05-20 22:27:49 +02:00
tetsuo55 2d24d5ce01 dmake: Add support for mingw64
running dmake under mingw64 causes an error
the makefile will have to be recreated
under linux
2017-05-11 10:36:37 +02:00
Alexander Mai 9d54ffd521 Correct script 2017-05-03 21:09:20 +02:00
Matthias Krüger a26abfb8e4 reduce: fix build, adapt settings. 2017-04-11 12:09:18 +02:00
Matthias Krüger c65725cb1b matchcompiler: don't emmit '!true' or '!false'. Fold to 'false' or 'true'. 2017-04-02 16:35:39 +02:00
Matthias Krüger 1e5e32c4a2 testrunner: remove non-gcc-style output format 2017-02-26 21:39:06 +01:00
Matthias Krüger 9e2650db96 reduce: main(): replace "return false;" by "return EXIT_FAILURE;", clang 4 warned about this:
tools/reduce.cpp:771:17: warning: bool literal returned from 'main' [-Wmain]
                return false;
                ^      ~~~~~
tools/reduce.cpp:776:17: warning: bool literal returned from 'main' [-Wmain]
                return false;
                ^      ~~~~~
tools/reduce.cpp:782:17: warning: bool literal returned from 'main' [-Wmain]
                return false;
                ^      ~~~~~
2017-01-17 01:32:29 +01:00
PKEuS 0236f67454 Fixed matchcompiler with Python 3.6 on Windows by using UTF-8 as encoding 2017-01-01 10:27:48 +01:00
Matthias Krüger ecc91ba914 fix a couple of issues in shell scripts found by codacy. 2016-12-25 00:43:47 +01:00
Boris Egorov 743dcdd669 daca2: Use logging module instead of opening/closing results file 2016-12-08 21:18:16 +07:00
Boris Egorov c250e385d3 daca2: Use argparse instead of manual argument parsing 2016-12-08 21:14:13 +07:00
Matthias Krüger 27bd4a7f4c daca2: enable --inconclusive 2016-12-06 11:19:33 +01:00
Daniel Marjamäki 5426cfb15e daca2: output warning id to make it possible to write more statistics 2016-12-06 09:33:41 +01:00