From 0995695733126ed1abcdc953226f9e462ee0f534 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <henrik@trineo.org> Date: Tue, 17 Aug 2021 08:44:46 +0200 Subject: [PATCH] DOC: additional hint on how to run the tests --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 551117a..9d2b880 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,17 @@ Integration tests for caosdb-cpplib and the caosdb-server # Run tests +## Prerequisite +Create a local conan package from the caosdb-cpplib repository + +## Build & Execution 1. `mkdir build && cd build/` 2. `conan install .. -s "compiler.libcxx=libstdc++11"` 3. `cmake -B . ..` 4. `cmake --build .` 5. Setup env vars + - CAOSDB_SERVER_GRPC_PORT_HTTP + - CAOSDB_SERVER_HOST + - CAOSDB_SERVER_GRPC_PORT_HTTPS + - CAOSDB_SERVER_CERT 6. Run with `ctest` in the build directory. - - -- GitLab