We are building a C++ in-browser project and want to use googletest and ctest for our CI loop to test functionality that requires XHR and Emscripten's -fetch library. In the emscripten code base we find:
emscripten/tests/fetch/example_stream_async_xhr.cppWe have changed this code and linked it as a test with GTest framework main harness. This gives us a test binary. We can get it to run with emrun and print the GTest test report to stdout if we link with with the -emrun linker flag.
We are aware of the Emscripten test runner but do not know how to combine it with ctest.
We have two questions:
We can provide the test code, but this question is not about the code, but about the configuration of a headless test runtime when a browser is required.
--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/d149c45d-f106-4367-b14c-d06bf54aae23n%40googlegroups.com.