1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/minimal-examples/api-tests/api-test-jose
Andy Green 9f1d019352 CTest: migrate and deprecate existing selftest scripts
Replace the bash selftest plumbing with CTest.

To use the selftests, build with -DLWS_WITH_MINIMAL_EXAMPLES=1
and `CTEST_OUTPUT_ON_FAILURE=1 make test` or just
`make test`.

To disable tests that require internet access, also give
-DLWS_CTEST_INTERNET_AVAILABLE=0

Remove travis and appveyor scripts on master.

Remove travis and appveyor decals on README.md.
2020-05-11 15:40:13 +01:00
..
CMakeLists.txt CTest: migrate and deprecate existing selftest scripts 2020-05-11 15:40:13 +01:00
jwe.c gencrypto: windows: warnings 2020-04-12 08:39:27 +01:00
jwk.c cc0: align dedication to CC0 FAQ recommended format 2019-05-02 09:29:01 +01:00
jws.c gencrypto: windows: warnings 2020-04-12 08:39:27 +01:00
main.c openssl: add threading apis needed for 1.0.2 and earlier 2019-08-02 09:47:23 +01:00
README.md JOSE: refactor and prepare for JWE 2018-12-27 06:45:31 +08:00

lws api test lwsac

Demonstrates how to use and performs selftests for lwsac

build

 $ cmake . && make

usage

Commandline option Meaning
-d Debug verbosity in decimal, eg, -d15
 $ ./lws-api-test-lwsac
[2018/10/09 09:14:17:4834] USER: LWS API selftest: lwsac
[2018/10/09 09:14:17:4835] USER: Completed: PASS