Nils Wentzell
09b0a68b26
[cmake] Fix cppcheck invocation, add --force to cppcheck options
2019-11-21 11:54:10 -05:00
Nils Wentzell
a26bfae4d1
[cmake] Bump cppcheck c++ standard to c++17
2019-09-24 17:50:38 -04:00
Nils Wentzell
31433b69fb
[cmake] Build gtest from test/c++/gtest and use gtest_main target
2019-09-06 16:52:59 -04:00
Nils Wentzell
da55635d5c
Include gtest as a git subtree in test/c++/gtest
2019-09-06 16:12:18 -04:00
Nils Wentzell
28d600f149
[app4triqs] Rename files and Python module from toto to app4triqs
...
-Automatically detect any wrap generator files
-rename tests to basic/Py_Basic
2019-09-04 17:37:50 -04:00
Nils Wentzell
c87aceed37
[cmake] Generate list of all tests through GLOB_RECURSE by default
2019-08-20 14:32:21 -04:00
Nils Wentzell
3b1b412b4e
Correction to previous commit, run c++ tests in proper test directory
2019-08-02 14:24:45 -04:00
Nils Wentzell
63109a445b
[cmake] Generalize test/c++/CMakeLists.txt file to allow subdirectories and globbing
2019-07-31 11:08:23 -04:00
Nils Wentzell
24f49da39c
[cmake] Do not enable compiler warnings globally but instead through an interface target
2019-06-26 11:06:12 -04:00
Nils Wentzell
9315b02800
We should be using the triqs::gtest target for linking
2019-04-22 11:25:20 -04:00
Nils Wentzell
ff9536bf91
[cmake] Fix in specification of working directory for python tests
2019-04-12 18:06:44 -04:00
Nils Wentzell
095409d879
Major cleaning, Synchronize project structure with qmc codes
2019-04-12 16:36:03 -04:00
Nils Wentzell
16fe4b2eab
Minor correction to 759bb9d
2018-11-29 10:46:57 -05:00
Nils Wentzell
759bb9da1d
Fix the sanitizers for MacOs
2018-11-21 16:52:55 -05:00
Nils Wentzell
6be41fb47a
[cmake] Prepend UBSan options to Env
2018-04-24 23:59:32 +02:00
Nils Wentzell
6aa4eee0f4
[cmake] Fixing usage of ubsan with Minimal RT, some cleaning
...
- Use UBsan Minimal RT if found
- Prioritize gcc-7 directories over older
- Set UBSan options for c++/python tests
2018-04-24 23:34:14 +02:00
Nils Wentzell
f65e5bfbad
Further cleanining, switching to static library
...
-Disable LINTing in test macros with comment // NOLINT
-Enable static analyzers for c++ tests
-Switch app4triqs_c to static library
Dynamic was pickung up previously installed libapp4triqs_c.so in tests
Also there is no need to be dynamic for applications
-Fix previous change in HeaderFilterRegex:
'app4triqs/c++' was blocking all headers for clang-tidy checks.
'app4triqs' works well, but we cannot install any other headers into
app4triqs folder structure.
We thus had to create INSTALL_DIR in travis.yml
2018-03-26 00:31:39 +02:00
Nils Wentzell
e3c4366d54
Enable all compiler warnings, Include Triqs headers as SYSTEM, fix linker for sanitizers
2018-03-25 20:15:49 +02:00
Nils Wentzell
f2d7e84bdd
Major update and Cleaning
...
-consistent indends in all cmake files
-add static analyzer checks with both cppcheck and clang-tidy
-add dynamic analyzer checks with Address Sanitizer and option ASAN
-add dynamic analyzer checks with Undefined Behavior Sanitizer and option UBSAN
-Further Cleaning and Comments
2018-03-25 19:21:18 +02:00
Nils Wentzell
2b76c51f12
First draft of the triqs application skeleton
2018-03-22 18:16:10 +01:00