louiz’
493b0d1754
Remove the PrintBuildParameter make target
2017-01-04 01:46:38 +01:00
louiz’
3cd0f7bbc0
Use fsanitize=address and undefined in debug builds if ubsan and asan are there
2017-01-04 01:44:46 +01:00
louiz’
4860201d8c
Add a make coverage target to merge all other coverages, and upload to codecov
2016-12-10 20:11:30 +01:00
louiz’
807ac95e79
Use a portable way to get the relative paths into __FILENAME__
2016-12-08 02:33:35 +01:00
louiz’
4ab3cd653f
Fix some little compilation errors with some configs, from last commit
2016-11-15 00:49:55 +01:00
louiz’
d872c2b492
Support the ident protocol
...
fix #3211
2016-11-15 00:23:19 +01:00
louiz’
085c858c44
Start version 5.0
2016-11-09 18:11:37 +01:00
louiz’
9634cdaba2
Release version 4.0
2016-11-09 18:00:12 +01:00
louiz’
daa7ea04a4
Add coverage_e2e, which runs e2e, and regenerate a global coverage report
...
This coverage is probably more useful than the other one, because it’s not
really reasonable to try to cover everything with simple units test (e.g. on
network code etc).
However, we should strive to have 100% coverage with our e2e tests.
2016-09-28 19:48:00 +02:00
louiz’
f8112468a7
make dist creates the archive with the current time, not the git time
2016-09-17 01:08:32 +02:00
louiz’
e13d3fdf4d
Move get_first_non_empty to louloulibs/utils
2016-08-22 21:29:22 +02:00
louiz’
992fa93895
Add get_first_non_empty and use it into Database to simplify a little bit
2016-08-21 01:51:52 +02:00
louiz’
1d37a9092b
Go back to non-verbose make check
2016-08-20 02:36:25 +02:00
louiz’
d6a22b27f3
Better dependencies for make rpm and dist
2016-08-20 02:36:01 +02:00
louiz’
f9eb534dff
Start version 4.0
2016-08-04 11:52:25 +02:00
louiz’
0f14fe83ef
Release 3.0
2016-08-04 11:37:36 +02:00
louiz’
0cf7fac202
Be verbose with make check
2016-08-03 15:17:14 +02:00
louiz’
8ded8cd33e
Properly use the docstring variables
2016-07-12 11:59:27 +02:00
louiz’
2307f94e5b
Clean the list of options visible in non-advanced ccmake
2016-07-12 11:57:01 +02:00
louiz’
f212b47830
Use an ugly way, because SOURCES property does not work in cmake 3.0
2016-07-12 11:39:27 +02:00
louiz’
b0d60c0c1a
Set the required cmake version to 3.0
2016-07-12 11:22:01 +02:00
louiz’
4f730f93fa
Don't use target_sources() in cmake because it's >=3.1 only
2016-07-12 11:21:43 +02:00
louiz’
9fb2e116c4
Move reload.*pp from louloulibs to src
2016-07-12 01:15:34 +02:00
louiz’
8cef730318
Add a valgrind suppression file
2016-07-02 15:10:23 +02:00
louiz’
79002aa5c9
Run e2e through with valgrind if BIBOUMI_E2E_VALGRIND is set in the env
2016-06-29 19:53:37 +02:00
louiz’
ad4ccdbbea
Display a message to tell if we found pandoc or not
...
fix #3177
2016-06-13 20:02:04 +02:00
Emmanuel Gil Peyrot
ad15924ac3
Allow cmake to configure the systemd unit’s user and group
2016-06-11 01:34:03 +01:00
louiz’
38202e5f6e
Update the build process to take into account the rst files
2016-05-23 11:51:03 +02:00
louiz’
747f04ee6d
Move the e2e tests out of make check
2016-04-22 10:49:07 +02:00
louiz’
3119ec72f3
Force LANG to en_US when generating biboumi.spec (fixes the date format)
2016-04-22 10:49:07 +02:00
louiz’
14930284a7
Fetch Catch from our own clone, instead of the github one.
...
Avoids:
- Relying on github’s services
- Fetching a new (malicious) version, automatically, without any “check”
2016-03-24 10:06:02 +01:00
Florent Le Coz
51a34f83f9
Add a basic integration test in python
2016-02-24 09:30:37 +01:00
Florent Le Coz
85867976dc
Add a “rpm” target in the makefile, building a RPM
2016-01-21 16:53:29 +01:00
Florent Le Coz
ae7c54f373
Spec file becomes a template, auto filled with the date and version
2016-01-21 16:53:29 +01:00
Florent Le Coz
ccfdb60cc1
Fix a build when litesql is found but not botan
...
fix #3157
2016-01-15 11:54:33 +01:00
Florent Le Coz
d58dcde856
Only activate systemd’s watchdog if we are compiling with systemd
...
ref #3152
2016-01-14 14:39:06 +01:00
Florent Le Coz
1f8e243164
Display an info message on make dist
2016-01-13 16:28:54 +01:00
Florent Le Coz
3fdc4cb334
Install the unit file in lib/, not etc/
2016-01-13 16:25:17 +01:00
Florent Le Coz
85dfe06665
Include catch.hpp in the dist tarball
2016-01-13 16:14:10 +01:00
Florent Le Coz
3497b330dc
If catch.hpp is found in tests/, use it without cloning the git repo
2016-01-13 16:14:10 +01:00
Florent Le Coz
6bebb2f67b
Remove the second '-' from the package when ~dev is there
2016-01-13 14:01:05 +01:00
Florent Le Coz
1e79705628
Build the doc with the default make target
2016-01-13 14:01:05 +01:00
Florent Le Coz
25475b60ab
Generate systemd file from template and make installs it and the conf
...
The unit file Type=, as well as the executable path should now be correct
with a simple “make install”, whatever the install prefix and the DESTDIR
values are.
ref #3152
2016-01-13 14:01:04 +01:00
Florent Le Coz
73dffca24e
Only include the coverage flags when compiling with gcc
2015-11-05 16:40:09 +01:00
Florent Le Coz
f03d1a16dd
Only download Catch when the test_suite target is built
2015-10-29 03:55:57 +01:00
Florent Le Coz
9fe94215da
Make lcov gcov etc optional
...
make coverage will display an error instead
2015-10-29 03:20:39 +01:00
Florent Le Coz
3b7bbe1472
make coverage is only available with a debug build
2015-10-29 02:52:24 +01:00
Florent Le Coz
6ae7e08c52
Add code coverage support
...
make coverage runs the test_suite and generates a report
2015-10-29 02:33:05 +01:00
Florent Le Coz
3c1889fbd0
Use Catch for our test suite
...
`make check` is also added to compile and run the tests
Catch is fetched with cmake automatically into the build directory when needed
2015-10-29 02:32:57 +01:00
Florent Le Coz
bf30b4498f
Add the network module to the test_suite
...
Because we added a network unit test
2015-10-24 15:16:58 +02:00