]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow this test script to be run from within src/tools/boot dir, and create
authorian <ian@FreeBSD.org>
Wed, 17 Apr 2019 16:27:43 +0000 (16:27 +0000)
committerian <ian@FreeBSD.org>
Wed, 17 Apr 2019 16:27:43 +0000 (16:27 +0000)
commit074008001b23a66e64f0f1500e09fb29c2834685
treef38f08e0734932854a0fc301e67b5e52ef074ea6
parentd321c675eec4147026072ecfabe8484125b94820
Allow this test script to be run from within src/tools/boot dir, and create
the temporary image in $TMPDIR.

Allow the script to be run from the src/tools/boot directory by using make
-V SRCTOP to find the top of the tree, because this script is handy for
quick smoke-testing of loader changes, as well as being useful in CI testing.

Also, use a temp directory in $TMPDIR to assemble the boot image, and write
the boot log file to $TMPDIR.  Arrange to have the temporary image clean
itself up, but leave the log file in $TMPDIR for post-mortem analysis of
failures when the script is run interactively.

Differential Revision: https://reviews.freebsd.org/D19876
tools/boot/ci-qemu-test.sh