cmocka: Print test errors directly to make them included in the XML output
cmocka: Print test errors directly to make them included in the XML output

Signed-off-by: Jakub Hrozek <17cd138b925932d6ed84ede56550124a0b538ee0@posteo.se>

jamesmunns/CMocka,wingyplus/cmocka,jamesmunns/CMocka,clibs/cmocka,VladimirTyrin/cmocka,dsch/cmocka,tyc/cmocka,tyc/cmocka,VladimirTyrin/cmocka,JonathonReinhart/cmocka,dsch/cmocka,wingyplus/cmocka,clibs/cmocka,JonathonReinhart/cmocka,tyc/cmocka