CTest able to daemonize fixtures?

Thanks for the reply. I tried to implement what I understood you’re suggesting just for Linux initially… I created a shim shellscript

$ cat ../scripts/ctest-background.sh
#!/bin/bash

$1 $2 $3 $3 $5 $6 $7 $8 $9 &
exit 0

and use the following scheme

add_test(NAME slocalserver COMMAND ../../../scripts/ctest-background.sh $<TARGET_FILE:lws-minimal-http-server-tls>)
        add_test(NAME clocalserver COMMAND killall lws-minimal-http-server-tls)

        set_property(TEST slocalserver PROPERTY WORKING_DIRECTORY ../minimal-examples/http-server/minimal-http-server-tls)
        set_property(TEST slocalserver PROPERTY FIXTURES_SETUP localserver)
        set_property(TEST clocalserver PROPERTY FIXTURES_CLEANUP localserver)

        add_test(NAME http-client-multi COMMAND lws-minimal-http-client-multi -l)
        set_tests_properties(http-client-multi PROPERTIES FIXTURES_REQUIRED localserver)

But ctest stops at the point of creating the server, as if it was still waiting for its spawned process exit

      Start 14: slocalserver

I can see that the spawned process exists OK.

2598941 pts/0    S+     0:00  \_ /projects/libwebsockets/bb/bin/lws-minimal-http-server-tls

Did I miss the point or mangle the implementation?