/u-boot/test/ |
A D | Kconfig | 2 bool "Unit tests" 4 Select this to compile in unit tests for various parts of 10 bool "Unit tests in SPL" 11 # We need to be able to unbind devices for tests to work 14 Select this to enable unit tests in SPL. Most test are designed for 20 bool "Unit tests for library functions" 24 Enables the 'ut lib' command which tests library functions like 63 bool "Unit tests for logging functions" 67 Enables the 'ut log' command which tests logging functions like 72 bool "Unit tests for time functions" [all …]
|
A D | cmd_ut.c | 17 struct unit_test *tests, int n_ents, in cmd_ut_category() argument 27 for (test = tests; test < tests + n_ents; test++) { in cmd_ut_category()
|
A D | str_ut.c | 110 struct unit_test *tests = ll_entry_start(struct unit_test, in do_ut_str() local 114 return cmd_ut_category("str", "str_", tests, n_ents, argc, argv); in do_ut_str()
|
A D | run | 18 [ "$1" == "quick" ] && skip=--skip-net-tests
|
/u-boot/doc/develop/ |
A D | testing.rst | 5 tested and what tests you should write when adding a new feature. 8 Running tests 11 To run most tests on sandbox, type this: 18 Some tests take ages to run. To run just the quick ones, type this: 27 target provides this feature and it is widely used in tests. 33 Many tests are available using the pytest suite, in test/py. This can run 38 You can run the tests on sandbox with: 56 Ad-hoc tests 62 test/image - FIT and legacy image tests (shell script and Python) 69 When to write tests [all …]
|
A D | py_testing.rst | 9 U-Boot console, run the entire script of tests against it, and summarize the 36 In order to execute certain tests on their supported platforms other tools 99 The test script will attach to U-Boot, execute all valid tests for the board, 115 - All timeouts in tests are disabled, allowing U-Boot an arbitrary amount of 139 Some tests deliberately cause the sandbox process to exit, e.g. to test the 141 to attach the debugger to the new sandbox instance. If these tests are not 160 the tests. If using this option, make sure that any environment variables 186 selects which tests to run. The default is to run all known tests. This 190 - `'-k ums'` runs only tests with "ums" in their name. 195 - `'-k ut or hush'` runs only tests with "ut" or "hush" in their name. [all …]
|
/u-boot/tools/concurrencytest/ |
A D | README.md | 34 """Dummy tests that sleep for demo.""" 49 # Load tests from SampleTestCase defined above 53 # Run tests sequentially 56 # Run same tests across 4 processes 66 Ran 4 tests in 2.003s 71 Ran 4 tests in 0.504s
|
A D | concurrencytest.py | 110 tests = iterate_tests(suite) 111 for partition, test in zip(cycle(partitions), tests):
|
/u-boot/test/env/ |
A D | Kconfig | 2 bool "Enable env unit tests" 7 tests on the env code. 8 If all is well then all tests pass although there will be a few
|
A D | cmd_ut_env.c | 15 struct unit_test *tests = ll_entry_start(struct unit_test, env_test); in do_ut_env() local 19 tests, n_ents, argc, argv); in do_ut_env()
|
/u-boot/doc/ |
A D | README.POST | 52 tests and developing such tests for particular hardware. 63 tests. All POST tests will be divided into the following groups: 80 4) Manually executed tests 279 2.1.4. Standalone tests 283 functions to standalone tests. 295 Available hardware tests: 314 executed. If no tests are specified, all available tests will be 335 executing all hardware tests. 337 2.1.7. Hazardous tests 392 2.2.1. Generic PPC tests [all …]
|
/u-boot/doc/driver-model/ |
A D | design.rst | 92 Running the tests 112 test/py/tests/test_ut.py::test_ut_dm_init PASSED 113 test/py/tests/test_ut.py::test_ut[ut_dm_adc_bind] PASSED 120 test/py/tests/test_ut.py::test_ut[ut_dm_autobind] PASSED 139 test/py/tests/test_ut.py::test_ut[ut_dm_eth] PASSED 140 test/py/tests/test_ut.py::test_ut[ut_dm_eth_act] PASSED 144 test/py/tests/test_ut.py::test_ut[ut_dm_fdt] PASSED 148 test/py/tests/test_ut.py::test_ut[ut_dm_gpio] PASSED 161 test/py/tests/test_ut.py::test_ut[ut_dm_leak] PASSED 188 test/py/tests/test_ut.py::test_ut[ut_dm_remove] PASSED [all …]
|
/u-boot/test/cmd/ |
A D | mem.c | 15 struct unit_test *tests = ll_entry_start(struct unit_test, mem_test); in do_ut_mem() local 18 return cmd_ut_category("cmd_mem", "mem_test_", tests, n_ents, argc, in do_ut_mem()
|
A D | addrmap.c | 32 struct unit_test *tests = ll_entry_start(struct unit_test, in do_ut_addrmap() local 36 return cmd_ut_category("cmd_addrmap", "cmd_addrmap_", tests, n_ents, in do_ut_addrmap()
|
/u-boot/test/lib/ |
A D | cmd_ut_lib.c | 16 struct unit_test *tests = ll_entry_start(struct unit_test, lib_test); in do_ut_lib() local 19 return cmd_ut_category("lib", "lib_test_", tests, n_ents, argc, argv); in do_ut_lib()
|
/u-boot/test/log/ |
A D | test-main.c | 16 struct unit_test *tests = ll_entry_start(struct unit_test, log_test); in do_ut_log() local 20 tests, n_ents, argc, argv); in do_ut_log()
|
/u-boot/test/optee/ |
A D | cmd_ut_optee.c | 97 struct unit_test *tests = ll_entry_start(struct unit_test, in do_ut_optee() local 133 ret = cmd_ut_category("optee", "", tests, n_ents, argc, argv); in do_ut_optee() 139 ret = cmd_ut_category("optee", "", tests, n_ents, argc, argv); in do_ut_optee() 146 ret = cmd_ut_category("optee", "", tests, n_ents, argc, argv); in do_ut_optee()
|
A D | Kconfig | 7 tests on the optee library code..
|
/u-boot/lib/efi_selftest/ |
A D | Kconfig | 2 bool "UEFI unit tests" 11 via the 'bootefi selftest' command. It provides extended tests of
|
/u-boot/test/overlay/ |
A D | Kconfig | 8 tests on the fdt overlay code. 9 If all is well then all tests pass although there will be a few
|
/u-boot/test/dm/ |
A D | Kconfig | 6 tests on the driver model code. Each subsystem (uclass) is tested. 7 If all is well then all tests pass although there will be a few
|
A D | test-main.c | 151 struct unit_test *tests = ll_entry_start(struct unit_test, dm_test); in dm_test_main() local 178 for (test = tests; test < tests + n_ents; test++) { in dm_test_main()
|
/u-boot/post/ |
A D | Makefile | 7 obj-y += tests.o
|
/u-boot/doc/usage/ |
A D | bootefi.rst | 91 U-Boot can be compiled with UEFI unit tests. These unit tests are invoked using 95 *efi\_selftest*. If this variable is not set, all unit tests that are not marked 98 To show a list of the available unit tests the value *list* can be used 105 Available tests: 119 Some of the tests execute the ExitBootServices() UEFI boot service and will not
|
/u-boot/scripts/kconfig/ |
A D | Makefile | 138 $(PYTHON3) -B -m pytest $(srctree)/$(src)/tests \ 139 -o cache_dir=$(abspath $(obj)/tests/.cache) \ 141 clean-dirs += tests/.cache
|