cheribsd
cheribsd copied to clipboard
Race when installing tests
I just got the following build failure with -j128:
install: /home/alexrichardson/cheri/output/rootfs-morello-purecap/usr/tests/sys/ses/destructive: No such file or directory
--- _proginstall ---
*** [_proginstall] Error code 71
My only explanation for this is that there is a missing depdency between creating TESTSDIR and installing the tests?
PACKAGE= tests
TESTSDIR= ${TESTSBASE}/sys/ses
ATF_TESTS_C+= destructive
ATF_TESTS_C+= nondestructive
# Some tests cases alter enclosure state, so they can't run concurrently.
TEST_METADATA.destructive+= is_exclusive=true
.include <bsd.test.mk>
Maybe bsd.test.mk needs something like .ORDER: installdirs _proginstall
?
Upstream review at https://reviews.freebsd.org/D34971