Files
ack-tegra/tools/testing/selftests/android
Ulises Mendez Martinez 1075816f4d Revert "ANDROID: Disable broken tests"
This reverts commit 62fd405937.

Reason for revert: Tests have been fixed by http://r.android.com/4187378

Bug: 536813037
Bug: 536732335
Bug: 536739090
Change-Id: Ib30e2c1701ab054a43b5833dad495b3622018d7f
Signed-off-by: Ulises Mendez Martinez <umendez@google.com>
2026-07-28 08:06:24 -07:00
..

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