| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| include/ | 22-Oct-2025 | - | 15 | 9 | ||
| README | D | 22-Oct-2025 | 918 | 25 | 18 | |
| config_arm.xml | D | 22-Oct-2025 | 8.6 KiB | 84 | 75 | |
| config_arm64.xml | D | 22-Oct-2025 | 8.7 KiB | 85 | 78 | |
| config_x86.xml | D | 22-Oct-2025 | 9.4 KiB | 90 | 83 | |
| config_x86_64.xml | D | 22-Oct-2025 | 9.5 KiB | 91 | 84 |
README
1HOW TO RUN SELFTESTS IN ANDROID 2================================= 3 4Run tests on a physical or virtual device: 5 $ kernel/tests/tools/run_test_only.sh -t selftests -s <serial_number> 6 7Before the tests, you can use the following command to launch a virtual device: 8 $ kernel/tests/tools/launch_cvd.sh 9 10After the tests, you can use the following command to remove the virtual device: 11 $ prebuilts/asuite/acloud/linux-x86/acloud delete 12 13The following are command examples: 14 * Build kernel and launch a virtual device from a specific platform build: 15 $ kernel/tests/tools/launch_cvd.sh -pb \ 16 ab://aosp-main/aosp_cf_x86_64_phone-trunk_staging-userdebug/12505199 17 18 * Run a specific test: 19 $ kernel/tests/tools/run_test_only.sh \ 20 -t 'selftests kselftest_net_socket' -s <serial_number> 21 22 * Check other available options: 23 $ kernel/tests/tools/launch_cvd.sh -h 24 $ kernel/tests/tools/run_test_only.sh -h 25