Bert Belder
3ad20d71ff
build: refactor config infrastructure and test build setup
...
* Configuration is now done with files, instead of through command line
switches specified in CMakeLists.txt.
* Link tests with a static library instead of compiling individual
wepoll source files as part of the test executable. This should make
the CI run significantly faster.
2020-01-12 23:56:59 +01:00
Bert Belder
8cd6e896cd
test: fix clang warning caused by 'static_assert' polyfill
2020-01-12 23:42:07 +01:00
Bert Belder
f813598587
src,test: use consistent naming style for private names
2018-06-06 11:37:43 -07:00
Bert Belder
dd65a0c06b
util: move static_assert polyfill to test-util.h
...
It's no longer used in the main source code.
2018-06-04 23:55:30 -07:00
Bert Belder
613a821a30
src: rename/remove macros that clang says have reserved names
2018-05-17 01:31:28 -07:00
Bert Belder
4e21e8411e
test: surpress some overly pedantic clang warnings
2018-05-17 01:31:26 -07:00
Bert Belder
b895c1866e
test: write newline before check() failure message
2018-05-03 14:40:50 +02:00
Bert Belder
389a2fae80
test: use double underscores in '__declspec'
2017-12-01 22:51:15 +01:00
Bert Belder
056b2d72c4
test: implement shared check() macro
2017-11-27 16:55:46 +01:00