Fixed test arguments.
All checks were successful
the build was successful

This commit is contained in:
tastytea 2019-04-27 23:12:01 +02:00
parent f24fae28e9
commit d8739e14ae
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 12 additions and 14 deletions

View File

@ -19,7 +19,7 @@ pipeline:
- apt-get install -qy libcurl4-openssl-dev libjsoncpp-dev doxygen catch
- apt-get install -qy -t sid libcurlpp-dev
- rm -rf build && mkdir -p build && cd build
- cmake -DWITH_EXAMPLES=YES -DWITH_TESTS=YES -DEXTRA_TEST_ARGS="[pleroma]![upload]" ..
- cmake -DWITH_EXAMPLES=YES -DWITH_TESTS=YES -DEXTRA_TEST_ARGS="[pleroma]~[upload]" ..
- make VERBOSE=1
- make install DESTDIR=install
- ctest
@ -52,7 +52,7 @@ pipeline:
- apt-get install -qy libcurl4-openssl-dev libjsoncpp-dev doxygen catch
- apt-get install -qy -t sid libcurlpp-dev
- rm -rf build && mkdir -p build && cd build
- cmake -DWITH_EXAMPLES=YES -DWITH_TESTS=YES -DEXTRA_TEST_ARGS="[pleroma]![upload]" ..
- cmake -DWITH_EXAMPLES=YES -DWITH_TESTS=YES -DEXTRA_TEST_ARGS="[pleroma]~[upload]" ..
- make VERBOSE=1
- make install DESTDIR=install
- ctest
@ -85,7 +85,7 @@ pipeline:
- apt-get install -qy libcurl4-openssl-dev libjsoncpp-dev doxygen catch
- apt-get install -qy -t sid libcurlpp-dev
- rm -rf build && mkdir -p build && cd build
- cmake -DWITH_EXAMPLES=YES -DWITH_TESTS=YES -DEXTRA_TEST_ARGS="[pleroma]![upload]" ..
- cmake -DWITH_EXAMPLES=YES -DWITH_TESTS=YES -DEXTRA_TEST_ARGS="[pleroma]~[upload]" ..
- make VERBOSE=1
- make install DESTDIR=install
- ctest
@ -115,7 +115,7 @@ pipeline:
- apt-get install -qy libcurl4-openssl-dev libjsoncpp-dev doxygen catch
- apt-get install -qy -t sid libcurlpp-dev
- rm -rf build && mkdir -p build && cd build
- cmake -DWITH_EXAMPLES=YES -DWITH_TESTS=YES -DEXTRA_TEST_ARGS="[pleroma]![upload]" ..
- cmake -DWITH_EXAMPLES=YES -DWITH_TESTS=YES -DEXTRA_TEST_ARGS="[pleroma]~[upload]" ..
- make VERBOSE=1
- make install DESTDIR=install
- ctest
@ -145,7 +145,7 @@ pipeline:
- apt-get install -qy libcurl4-openssl-dev libjsoncpp-dev doxygen catch
- apt-get install -qy -t sid libcurlpp-dev
- rm -rf build && mkdir -p build && cd build
- cmake -DWITH_EXAMPLES=YES -DWITH_TESTS=YES -DEXTRA_TEST_ARGS="[pleroma]![upload]" ..
- cmake -DWITH_EXAMPLES=YES -DWITH_TESTS=YES -DEXTRA_TEST_ARGS="[pleroma]~[upload]" ..
- make VERBOSE=1
- make install DESTDIR=install
- ctest

View File

@ -220,17 +220,15 @@ cmake --build . -- -j$(nproc --ignore=1)
cmake options:
* `-DCMAKE_BUILD_TYPE=Debug` for a debug build
* `-DCMAKE_BUILD_TYPE=Debug` for a debug build.
* `-DWITH_EASY=NO` to not build the Easy abstractions and to get rid of the
jsoncpp-dependency (not recommended)
* `-DWITH_EXAMPLES=YES` if you want to compile the examples
* `-DWITH_TESTS=YES` if you want to compile the tests
* `-DEXTRA_TEST_ARGS` to run only some tests
jsoncpp-dependency (not recommended).
* `-DWITH_EXAMPLES=YES` if you want to compile the examples.
* `-DWITH_TESTS=YES` if you want to compile the tests.
* `-DEXTRA_TEST_ARGS` to run only some tests ([format](https://github.com/catchorg/Catch2/blob/master/docs/command-line.md#specifying-which-tests-to-run)).
* Possible tags: `[api]`, `[auth]`, `[mastodon]`, `[glitch-soc]`,
`[pleroma]`, `[upload]`
* Example: `-DEXTRA_TEST_ARGS='[pleroma]![mastodon]'` to run the tests for
features in Pleroma that are not in Mastodon.
* `[upload]` tags tests that upload files.
`[pleroma]`, `[upload]`.
* `[upload]` tags tests that upload files.
* `-DWITH_DOC=NO` if you don't want to compile the HTML reference
* One of:
* `-DWITH_DEB=YES` if you want to be able to generate a deb-package