> We'd have to wrap the build process for the unit tests to report into
> junit on error.
>
> tests/Makefile.inc already looks for JUNIT_OUTPUT. The target in
> tests/Makefile.common for $($(1)-bin) would have to be extended to
> create a report on build failure.

It will not be enough. $($(1)-bin) target is responsible for linking test
binary. $($(1)-objs) would also have to be extended to detect whether
a particular file failed to compile.

> The junit.xml target in payloads/libpayload/Makefile.inc might serve as
> inspiration.

Thanks for the tip. It will come in handy.
I will try to find some time to extend unit-tests framework to support
tests compilation failures reports in coreboot and libpayload makefiles.

--
Jakub
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to