mirror of
https://github.com/progsource/maddy.git
synced 2026-03-24 23:40:39 +01:00
build: add option for running tests
cmake configuration for running tests is now in the tests folder. Add option in main cmake file that has to be set to ON and only build the tests in that case. Update appveyor and travis ci configurations accordingly.
This commit is contained in:
@@ -15,7 +15,7 @@ It is tested to work on:
|
||||
|
||||
* Linux (gcc)
|
||||
* OSX (clang)
|
||||
* Windows (Visual Studio 2017)
|
||||
* Windows (Visual Studio 2017, mingw)
|
||||
|
||||
## Dependencies
|
||||
|
||||
@@ -63,10 +63,9 @@ Open your preferred terminal and type:
|
||||
```shell
|
||||
git clone https://github.com/progsource/maddy.git
|
||||
cd maddy
|
||||
git submodule update --init --recursive
|
||||
mkdir tmp
|
||||
cd tmp
|
||||
cmake ..
|
||||
cmake -DMADDY_ENABLED_TESTS=ON ..
|
||||
make
|
||||
make test # or run the executable in ../build/MaddyTests
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user