Skip to content

Commit

Permalink
Fix tests/README (adapt to meson), use MD format
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 f6d470e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tests/README

This file was deleted.

1 change: 1 addition & 0 deletions tests/README
18 changes: 18 additions & 0 deletions tests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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 `meson test` command has run, set up the environment with:
```bash
$ source tests/tmp.<softokn|softhsm>/testvars
```

Then code can be executed like:
```bash
$ openssl pkey -in $ECPUBURI -pubin -pubout -out ecout.pub
```

0 comments on commit f6d470e

Please sign in to comment.