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-lws_struct_sqlite
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
main.c lws_struct: sqlite open option for create or not 2020-04-20 12:56:58 +01:00
README.md lws_struct sqlite3 2020-03-04 11:00:04 +00:00

lws api test lws_struct SQLITE

Demonstrates how to use and performs selftests for lws_struct SQLITE serialization and deserialization

build

 $ cmake . && make

usage

Commandline option Meaning
-d Debug verbosity in decimal, eg, -d15
 $ ./lws-api-test-lws_struct-sqlite
[2020/02/22 09:55:05:4335] U: LWS API selftest: lws_struct SQLite
[2020/02/22 09:55:05:5579] N: lws_struct_sq3_open: created _lws_apitest.sq3 owned by 0:0 mode 0600
[2020/02/22 09:55:05:9206] U: Completed: PASS