u-boot/doc/develop
Simon Glass 35839eda8b pytest: Show a message when sandbox crashes
When a test hands on a real board there is no way on the console to obtain
any information about why it hung.

With sandbox we can actually find out that it died and get a signal or
exit code. Add this to make it easier to figure out what happened.

So instead of:

test/py/u_boot_spawn.py:171: in expect
    c = os.read(self.fd, 1024).decode(errors='replace')
E   OSError: [Errno 5] Input/output error

We get:

test/py/u_boot_spawn.py:171: in expect
    c = os.read(self.fd, 1024).decode(errors='replace')
E   ValueError: U-Boot exited with signal 11 (Signals.SIGSEGV)

Signed-off-by: Simon Glass <sjg@chromium.org>
2021-10-14 19:45:07 -04:00
..
devicetree doc: Add a note about why devicetree is used 2021-08-14 20:54:41 +02:00
driver-model dm: doc: Add a note about of-platdata header files 2021-09-25 09:46:15 -06:00
package binman: Update various pieces of the documentation 2021-03-26 17:03:10 +13:00
uefi Revert "doc: Update CapsuleUpdate READMEs" 2021-09-18 03:46:56 -06:00
bloblist.rst bloblist: Move to rST format 2021-09-11 11:02:02 +02:00
checkpatch.rst scripts/checkpatch.pl: Resync with v5.13 2021-09-01 19:25:37 -04:00
ci_testing.rst doc: Add basic information about running CI tests 2021-08-04 15:58:31 -04:00
coccinelle.rst doc: Coccinelle: move to HTML doc 2020-07-17 08:45:29 -04:00
commands.rst doc: move README.commands to HTML doc 2020-12-15 09:32:15 +01:00
config_binding.rst doc: Add mention of the /config binding 2021-09-25 12:30:54 +02:00
crash_dumps.rst doc: correct description of crash dumps 2020-07-17 10:47:19 -04:00
global_data.rst doc: global data pointer on x86, x86_64 2020-12-15 09:31:26 +01:00
index.rst Prepare v2021.10-rc5 2021-09-27 09:45:36 -04:00
logging.rst log: Convert log values to printf() if not enabled 2021-06-08 11:39:09 -04:00
makefiles.rst doc: Bring in Makefile documentation 2021-07-24 10:49:51 +02:00
menus.rst doc: move README.menu to HTML documentation 2021-01-23 09:53:46 -05:00
moveconfig.rst doc: Fix up outdated moveconfig docs 2021-08-01 09:05:24 -06:00
py_testing.rst pytest: Show a message when sandbox crashes 2021-10-14 19:45:07 -04:00
testing.rst doc: Create an intro section for testing 2021-08-01 09:05:24 -06:00
tests_sandbox.rst doc: Explain briefly how to write new tests 2021-03-12 09:57:31 -05:00
tests_writing.rst doc: Explain briefly how to write new tests 2021-03-12 09:57:31 -05:00
trace.rst doc: move README.trace to HTML documentation 2020-12-15 09:37:24 +01:00
version.rst acpi: Use U-Boot version for OEM_REVISION 2021-10-06 09:15:14 -04:00