kernel_platform/common (Android common kernel, android16-6.12) from opendevices.sony.net, "Open source archive for 73.1.A.2.74" (Xperia 1 VIII), unmodified. This is the kernel Sony ships, so stock-built modules (e.g. the WLAN driver, whose source is not in the archive) match it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
25 lines
918 B
Plaintext
25 lines
918 B
Plaintext
HOW TO RUN SELFTESTS IN ANDROID
|
|
=================================
|
|
|
|
Run tests on a physical or virtual device:
|
|
$ kernel/tests/tools/run_test_only.sh -t selftests -s <serial_number>
|
|
|
|
Before the tests, you can use the following command to launch a virtual device:
|
|
$ kernel/tests/tools/launch_cvd.sh
|
|
|
|
After the tests, you can use the following command to remove the virtual device:
|
|
$ prebuilts/asuite/acloud/linux-x86/acloud delete
|
|
|
|
The following are command examples:
|
|
* Build kernel and launch a virtual device from a specific platform build:
|
|
$ kernel/tests/tools/launch_cvd.sh -pb \
|
|
ab://aosp-main/aosp_cf_x86_64_phone-trunk_staging-userdebug/12505199
|
|
|
|
* Run a specific test:
|
|
$ kernel/tests/tools/run_test_only.sh \
|
|
-t 'selftests kselftest_net_socket' -s <serial_number>
|
|
|
|
* Check other available options:
|
|
$ kernel/tests/tools/launch_cvd.sh -h
|
|
$ kernel/tests/tools/run_test_only.sh -h
|