Debian Codegraph @

src/lib/test/README

raw
1 To build for test of SoftHSM with static linking:
2 make p11test
3
4 To build for testing another p11 module provided as shared library:
5 make p11test_DEPENDENCIES= p11test_LDADD= CPPFLAGS=-DP11M=\\\"./p11m.so\\\" p11test
6 Substitute ./p11m.so with the path to your shared library.
7 Note that nothing else of SoftHSMv2 has to be built in order to build the test of an external p11.
8
9 To run the test with first a test summary and then specific output of each failure:
10 ./p11test
11
12 To get output of each test after it is executed:
13 ./p11test direct
14
15 To run a specific test:
16 ./p11test ObjectTests::testArrayAttribute
17 Substitute 'ObjectTests::testArrayAttribute' with the test you want to run.