Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - O index

CONFIG_OF_UNITTEST: Device Tree runtime unit tests

General informations

The Linux kernel configuration item CONFIG_OF_UNITTEST:

Help text

This option builds in test cases for the device tree infrastructure that are executed once at boot time, and the results dumped to the console.

This option should only be enabled for a development kernel. The tests will taint the kernel with TAINT_TEST. The tests will cause ERROR and WARNING messages to print on the console. The tests will cause stack traces to print on the console. It is possible that the tests will leave the devicetree in a corrupted state.

The unittest output will be verbose. Copy the output to a file via capturing the console output or via the dmesg command. Process this file with scripts/dtc/of_unittest_expect to reduce the verbosity, test whether expected output is present, and to summarize the results.

If unsure, say N here. This option is not safe to enable.



Raw data from LKDDb:


This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

Automatic links from Google (and ads)

Custom Search

Popular queries:

Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - O index

Automatically generated (in year 2023). See also LKDDb sources on GitLab