Testing multiple samples with --xml
$ simple.c.bin --xml
simple.c:4: The expression 0 is false.
$ signal.c.bin --xml
$ asserts.c.bin --xml
asserts.c:18: The conditions for this assertion were not met.
asserts.c:17: You can fail an assertion with a message from anywhere
asserts.c:12: This assert runs
asserts.c:11: assert is fatal, expect isn't
$ more-suites.c.bin --xml
$ long-messages.c.bin --xml
long-messages.c:4: This is
A long message
Spawning multiple lines.
Formatting is respected.
$ description.c.bin --xml
description.c:4: The expression 0 is false.
Testing --output=xml
$ simple.c.bin --output=xml:-
simple.c:4: The expression 0 is false.
Testing CRITERION_OUTPUTS
$ CRITERION_OUTPUTS=xml:- simple.c.bin
simple.c:4: The expression 0 is false.