X neotest/runTestSuite: Tee tested process stdout,stderr to testnode logs incrementally
We send output from tested process to master. We also print it to stdout,stderr so it appears in testnode logs. However till now it was like, whole output first read, and only then emitted to log as a whole, thus not allowing to oversee current test progress by watching testnode log tail. Fix it by implementing the teeing process manually and using only line-buffered mode inside.
Showing
-
That looks a good idea.
I plan to continue reviewing the code for our unit test infrastructure, and probably extend erp5.util to avoid repeating too much code in the runTestSuite script of each project. For the moment, everyone hacks and assumes any breakage.
I'll keep this change in mind, but I won't do premature changes like this in existing runTestSuite scripts.
-
+1
-
mentioned in merge request nexedi/nxdtest!6 (merged)
Please register or sign in to comment