Thanks. I understand this issue if the community only uses a single forum. 
Let us see what the responses on the github issue are. Do you have any 
suggestions alon?

Best,
JG

On Friday, 24 July 2020 at 00:16:54 UTC+10 [email protected] wrote:

> This is a good question, and I'm curious to see what people suggest, but I 
> see you posted the same question both here and on github - let's please 
> continue the discussion there, so that the conversation isn't split between 
> two places,
>
> https://github.com/emscripten-core/emscripten/issues/11700
>
> In general I think it's best not to post duplicates to multiple places 
> simultaneously. It can be confusing if two separate discussions start up 
> and people need to remember what was said in which. It also makes searching 
> for similar issues harder in the future. Also many people are subscribed to 
> both places and they get duplicate notifications.
>
> On Wed, Jul 22, 2020 at 7:58 PM Jörn Guy Süß <[email protected]> wrote:
>
>> 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.cpp 
>>
>> We 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 
>> <https://emscripten.org/docs/compiling/Running-html-files-with-emrun.html#quick-how-to>
>> .
>>
>> We are aware of the Emscripten test runner 
>> <https://emscripten.org/docs/getting_started/test-suite.html#running-tests> 
>> but 
>> do not know how to combine it with ctest.
>>
>> We have two questions:
>>
>>    1. How do you run a test interactively using emrun in a *headless*
>>     browser.
>>    2. How do you configure emrun so *the browser exits after the test 
>>    exits*.
>>
>> 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 [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/emscripten-discuss/d149c45d-f106-4367-b14c-d06bf54aae23n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/emscripten-discuss/d149c45d-f106-4367-b14c-d06bf54aae23n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/3a0e72f6-1c59-4d3b-91a4-2857a2cade00n%40googlegroups.com.

Reply via email to