Allow the return status from an embedded image to propagate out to the eventual return status from main(). When running under Linux, this allows the pass/fail result of unit tests to be observable without having to visually inspect the console output. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
26 |
|
26 |
|
27 |
|
27 |
|
28 |
|
28 |
|
|
29 |
|
|
29 |
|
30 |
|
30 |
|
31 |
|
31 |
|
32 |
|
|
|
||
35 |
|
36 |
|
36 |
|
37 |
|
37 |
|
38 |
|
38 |
|
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
39 |
|
42 |
|
|
43 |
|
|
40 |
|
44 |
|
41 |
|
|
|
42 |
|
|
|
|
45 |
|
|
43 |
|
46 |
|
|
|
||
35 |
|
35 |
|
36 |
|
36 |
|
37 |
|
37 |
|
38 |
|
|
|
|
38 |
|
|
39 |
|
39 |
|
40 |
|
40 |
|
41 |
|
41 |
|
|
|
||
871 |
|
871 |
|
872 |
|
872 |
|
873 |
|
873 |
|
|
874 |
|
|
874 |
|
875 |
|
875 |
|
876 |
|
876 |
|
877 |
|
|
|
||
886 |
|
887 |
|
887 |
|
888 |
|
888 |
|
889 |
|
889 |
|
|
|
|
890 |
|
|
|
891 |
|
|
890 |
|
892 |
|
891 |
|
|
|
|
893 |
|
|
892 |
|
894 |
|
893 |
|
|
|
894 |
|
|
|
895 |
|
895 |
|
896 |
|
|
|
897 |
|
|
|
898 |
|
|
|
|
896 |
|
|
899 |
|
897 |
|
900 |
|
898 |
|
901 |
|
899 |
|
|
|
||
542 |
|
542 |
|
543 |
|
543 |
|
544 |
|
544 |
|
|
545 |
|
|
545 |
|
546 |
|
546 |
|
|
|
|
547 |
|
|
547 |
|
548 |
|
548 |
|
549 |
|
549 |
|
550 |
|
|
551 |
|
|
550 |
|
552 |
|
551 |
|
553 |
|
552 |
|
554 |
|
|
|
||
570 |
|
572 |
|
571 |
|
573 |
|
572 |
|
574 |
|
573 |
|
|
|
|
575 |
|
|
574 |
|
576 |
|
575 |
|
577 |
|
576 |
|
|
|
|
578 |
|
|
577 |
|
579 |
|
578 |
|
580 |
|
579 |
|
581 |
|
580 |
|
582 |
|
581 |
|
583 |
|
582 |
|
|
|
|
584 |
|
|
583 |
|
585 |
|
|
586 |
|
|
584 |
|
587 |
|
585 |
|
588 |
|
586 |
|
589 |
|
587 |
|
590 |
|
588 |
|
591 |
|
589 |
|
|
|
|
592 |
|
|
590 |
|
593 |
|
591 |
|
|
|
|
594 |
|
|
592 |
|
595 |
|
593 |
|
596 |
|
594 |
|
|
|
|
597 |
|
|
|
598 |
|
|
595 |
|
599 |
|
596 |
|
600 |
|
597 |
|
601 |
|