Fix the UNIT_TESTING build on Windows
authorJocelyn Turcotte <jturcotte@woboq.com>
Tue, 7 Feb 2017 18:31:55 +0000 (19:31 +0100)
committerJocelyn Turcotte <jturcotte@woboq.com>
Tue, 14 Feb 2017 13:32:41 +0000 (14:32 +0100)
commitb26db062d23a54357695522680b196d0ad89558b
treeb1c456a9e3b254c64c29851108a94a4952b2fac6
parent611f633ba8fbc5cfa2c38b61b1f446f380c71e24
Fix the UNIT_TESTING build on Windows

- Put all tests in the bin directory so that DLLs can be loaded
- Add missing exports
- Skip tests that use code depending on zlib
- The "GMT" timezone is named differently, use the int constructor instead

5 tests are still failing, it's not really worth fixing at the moment
since no developper is currently using Windows as its main platform.
CMakeLists.txt
csync/CMakeLists.txt
csync/src/csync_private.h
csync/src/csync_statedb.h
src/CMakeLists.txt
src/libsync/filesystem.h
test/owncloud_add_test.cmake
test/syncenginetestutils.h
test/testchecksumvalidator.cpp