Skip to content

Commit

Permalink
Fix tests/README (adapt to meson)
Browse files Browse the repository at this point in the history
Resolves: #381

Signed-off-by: Sergio Arroutbi <[email protected]>
  • Loading branch information
sarroutbi committed Apr 23, 2024
1 parent c822c11 commit 23e2f55
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tests/README

This file was deleted.

1 change: 1 addition & 0 deletions tests/README
14 changes: 14 additions & 0 deletions tests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Tests are currently available for two different software token implementations,
NSS's softokn and softhsm (with some limitations).

The easiest way to configure things to run manual tests is to simply execute next command from project's root directory:
```bash
meson test -C build
```
Be aware that previous command might change if a different build directory has been selected. Previous command will create two temporary directories with each token's configurations.

After make check has run, set up your environment with:
$ source tests/tmp.<softokn|softhsm>/testvars

Then you can run code like:
$ openssl pkey -in $ECPUBURI -pubin -pubout -out ecout.pub

0 comments on commit 23e2f55

Please sign in to comment.