]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[test] Include build architecture in test suite banner
authorMichael Brown <mcb30@ipxe.org>
Mon, 6 Feb 2023 21:03:39 +0000 (21:03 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 6 Feb 2023 21:06:00 +0000 (21:06 +0000)
The test suites for the various architectures are often run back to
back, and there is currently nothing to visually distinguish one test
run from another.

Include the architecture name within the self-test startup banner, to
aid in visual identification of test results.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/tests/test.c

index 67bd4cf89eb5a9fae7577f7aafffd777db68086e..4c49d4c16faa200e7dd95123bcc1986e5d123586 100644 (file)
@@ -119,7 +119,7 @@ static int run_all_tests ( void ) {
        unsigned int total = 0;
 
        /* Run all compiled-in self-tests */
-       printf ( "Starting self-tests\n" );
+       printf ( "Starting %s self-tests\n", _S2 ( ARCH ) );
        for_each_table_entry ( tests, SELF_TESTS )
                run_tests ( tests );