Skip to content
Snippets Groups Projects

Make integration tests runnable on Windows

Merged Joscha Schmiedt requested to merge f-windows-conan-create into dev
1 file
+ 23
0
Compare changes
  • Side-by-side
  • Inline
+ 23
0
@@ -33,6 +33,29 @@ or manually via
@@ -33,6 +33,29 @@ or manually via
path to the pem file in the `CAOSDB_SERVER_CERT` environment variable.
path to the pem file in the `CAOSDB_SERVER_CERT` environment variable.
7. Run with `ctest` in the build directory.
7. Run with `ctest` in the build directory.
 
### Windows ###
 
 
On windows, you still need to build and create a conan package from
 
linkahead-cpplib using conan-create or the make.ps1 script in the
 
cpplib repo.
 
 
This repo also provides a make script `make.ps1` to run the
 
integration tests on Windows. You need to create a python virtual
 
environment and install the requirements from linkahead cpplib or
 
recycle the one you used to create the package there:
 
 
```sh
 
python -m venv .venv # Choose any path you like for your venv
 
.venv/Scripts/Actvate.ps1
 
pip install ../linkahead-cpplib/requirements.txt # You may need to change the pass to cpplib here
 
```
 
 
Then build and run the tests with
 
 
```sh
 
make.ps1 all
 
```
 
### Troubleshooting ###
### Troubleshooting ###
- If you don't have `clang-tidy` installed, you can run the first `cmake` command with
- If you don't have `clang-tidy` installed, you can run the first `cmake` command with
Loading