Commit Graph

7 Commits

Author SHA1 Message Date
Mikkel Krautz
5192831bc6 src/tests: update .pro files to append to SOURCES and HEADERS instead of overwriting them.
Now that test.pri adds source files and headers by default, the .pro files
of our tests need to append to SOURCES and HEADERS to ensure everything
test.pri adds to SOURCES and HEADERS are kept around.
2018-01-04 11:21:44 +01:00
Mikkel Krautz
f6ba3a52bf Auto-update LICENSE.header in source files. 2018-01-01 23:05:37 +01:00
Mikkel Krautz
6892c8b29a src/tests: update tests to initialize and destroy the MumbleSSL module to ensure OpenSSL is properly initialized. 2017-07-17 10:19:21 +02:00
Mikkel Krautz
57b3aa60fd tests: depend on OpenSSL in test.pri instead of each individual test.
The murmur_pch.h file which most tests use -- either directly,
or indrectly -- depends on being able to include OpenSSL headers.

Some of our tests did not include(qmake/openssl.pri), which meant that
those tests would fail to build in CONFIG(no-pch), such as on macOS.

This commit works around that issue by depending on OpenSSL for all tests.
2017-03-28 01:04:46 +02:00
Mikkel Krautz
15609703e4 src/tests: make all test .pro files 'inherit' from common test.pri file.
This refactors a lot of the common code from each test file into
a test.pri file, which is then included by all of our tests.
2017-03-02 02:28:19 +01:00
Mikkel Krautz
cba18e97b2 src/tests: fix various MSVC build issues.
This makes 'jom check' pass on our win32-static buildenv with MSVC 2015.
2017-02-28 01:03:56 +01:00
Mikkel Krautz
7b25a058c2 tests: move TestCrypt to the new testing infrastructure. 2017-02-26 23:50:21 +01:00