1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/minimal-examples/http-server/minimal-http-server-libuv
Andy Green 8829c2f365 selftests
This converts several of the selftests to return a status in their exit code
about whether they 'worked'.

A small bash script framework is added, with a selftest.sh in the mininmal
example dirs that support it, and a ./minimal-examples/selftests.sh script
that can be run from the build dir with no args that discovers and runs all
the selftest.sh scripts underneath.

That is also integrated into travis and the enabled tests must pass now for
travis to pass.  Travis does not have a modern libuv so it can't run a
couple of tests which are nulled out if it sees it's running in travis env.
2018-04-19 16:16:48 +08:00
..
mount-origin minimal: ws-client-tx and change dir names to match project name 2018-04-06 10:38:03 +08:00
CMakeLists.txt minimal: http-server-tls 2018-04-06 10:38:03 +08:00
localhost-100y.cert selftests 2018-04-19 16:16:48 +08:00
localhost-100y.key selftests 2018-04-19 16:16:48 +08:00
minimal-http-server.c selftests 2018-04-19 16:16:48 +08:00
README.md minimal: ws-client-tx and change dir names to match project name 2018-04-06 10:38:03 +08:00

lws minimal http server libuv

build

 $ cmake . && make

usage

 $ ./lws-minimal-http-server-libuv
[2018/03/04 09:30:02:7986] USER: LWS minimal http server-libuv | visit http://localhost:7681
[2018/03/04 09:30:02:7986] NOTICE: Creating Vhost 'default' port 7681, 1 protocols, IPv6 on

Visit http://localhost:7681