darrengarvey / cgi

CGI and FastCGI C++ Library
http://cgi.sf.net
51 stars 32 forks source link

cmake: use separate unittests #21

Closed aldot closed 5 years ago

aldot commented 5 years ago

like the normal makefile, use separate test for the "run" tests. Furthermore individual binaries are easier to debug.

This does NOT add the compile/ tests to travis runs (TODO for somebody else). We should be able to run those just fine to test ctors/dtors. Currently running them reveals something in scgi_acceptor, like: $ for i in ;do [ -x $i ] || continue ; echo "> $i";./$i;echo ret=$?;done

scgi_acceptor terminate called after throwing an instance of 'boost::system::system_error' what(): Unknown error 829 ret=134