Lines Matching +full:test +full:- +full:linux
7 ------------------
9 Kselftest is a collection of tests included within the Linux kernel repository
15 22 of these tests are executed in both 32-bit and 64-bit mode. There are many
20 ----------------------------
22 The Kselftest source is located at external/linux-kselftest in the Android
24 repository from the Linux kernel repository. This is not an exact mirror of
28 is located at test/vts-testcase/kernel/linux_kselftest. Some noteworthy
31 * `external/linux-kselftest/Android.bp`: Lists build rules for the kselftest modules built in Soong.
32 * `external/linux-kselftest/android/`: Contains Android-specific files, aside from Android.[bp, mk]…
33 * `external/linux-kselftest/android/Android.kselftest.mk`: Lists build rules for the kselftest modu…
34 * `external/linux-kselftest/android/kselftest_test_list.mk`: Lists all tests that will get pulled i…
35 * `external/linux-kselftest/android/README`: Lists details on why particular tests are not enabled …
36 * `external/linux-kselftest/tools/testing/selftests`: Kselftest sources.
37 * `test/vts-testcase/kernel/linux_kselftest/testcases/`: tests to run in VTS kselftest suites are
38 specified in each of the test XML file, e.g, vts_linux_kselftest_arm_32.xml contains tests for 32 b…
41 -------------------------------
45 * `atest -a vts_linux_kselftest_arm_32`
48 * `atest -a vts_linux_kselftest_arm_64`
50 To run a single test:
51 * `atest -a vts_linux_kselftest_arm_64:timers_valid-adjtimex_arm_64`
54 -----------------------------
60 * `make -j vts`
62 Then open vts-tradefed and run the VTS tests (64 bit ARM platform as an example):
63 * `vts-tradefed`
64 * `vts-tf > run vts-kernel -m vts_linux_kselftest_arm_64`
68 * `vts-tf > run vts-kernel -m vts_linux_kselftest_arm_64 -s 000123456789`
70 Or a specific test:
71 * `vts-tf > run vts-kernel -m vts_linux_kselftest_arm_64 -t net_socket`
74 --------------------------
80 * `external/linux-kselftest$ mma`
81 * `external/linux-kselftest$ adb sync data`
83 The test cases will be located at `/data/nativetest{64,}/linux-kselftest/`.
85 Build just the kselftest test you care about with `make -j kselftest_<testname>` (listed in `extern…
88 ------------------------------
91 [kselftest-todo](https://buganizer.corp.google.com/hotlists/745928).
97 --------------
106 * `atest -a vts_linux_kselftest_x86_32`
107 * `atest -a vts_linux_kselftest_x86_64`
110 ----------------------
112 Kselftest is part of the upstream Linux kernel and as such you can use the
117 smuckle@smuckle:~/repos/linux$ git show 352909b49ba | scripts/get_maintainer.pl
120 Greg Kroah-Hartman <gregkh@linuxfoundation.org> (commit_signer:1/6=17%,authored:1/6=17%,added_lines…
124 "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> (authored:1/6=17%,added_lines:1/6=17%,remove…
125 linux-kernel@vger.kernel.org (open list)
126 linux-kselftest@vger.kernel.org (open list:KERNEL SELFTEST FRAMEWORK)
129 In summary patches should be sent to linux-kselftest@vger.kernel.org and
130 linux-kernel@vger.kernel.org, Shuah Khan (kselftest maintainer), and anyone
131 else who has touched the code in question. Standard Linux kernel coding style
134 easy way to do this is by using git format-patch and git send-email.
137 -------------
140 onto aosp/master in external/linux-kselftest.
143 patch for it into external/linux-kselftest/android/patches. This allows easier
148 ------------------
154 4. Test on all supported kernel versions, ensuring that any tests currently enabled in VTS do not g…
157 If the runtime of kselftest changes significantly be sure to update the runtime-hint and test-timeo…
158 test config files under
159 `test/vts-testcase/kernel/linux_kselftest/testcases/`.
162 -------------------------
173 ### cpu-hotplug/
179 This test has an endless loop in it. It is not currently run as part of the
193 The gpio test requires a test kernel module and gpiolib, neither of which are
198 The ipc test requires CONFIG_EXPERT and CONFIG_CHECKPOINT_RESTORE be enabled,
213 The wait-wound mutex test depends on a kernel module enabled by
224 The membarrier test depends on CONFIG_EXPERT and CONFIG_MEMBARRIER being
231 ### memory-hotplug/
237 The mount test depends on CONFIG_USER_NS which is not required by Android.
241 These tests depend on -lrt and -lpopt which are not present in Android.
245 The test_bpf.sh test requires a kernel module enabled by CONFIG_TEST_BPF.
246 The netdevice.sh test operates on an ethernet interface.
247 The psock_fanout test depends on CONFIG_BPF_SYSCALL which is not required on
262 NTB (non-transparent bridge) is not required by Android.
278 This is a test for functionality that is not available in bionic (swapcontext()).
282 This test depends on a kernel module enabled by CONFIG_TEST_STATIC_KEYS. This
291 This test depends on a kernel module enabled by CONFIG_TEST_SYSCTL. This kernel
296 The adjtick test adjusts the system time and takes 2 minutes.
298 The change_skew test takes too long to run as part of VTS.
300 The clocksource_switch test takes too long to run as part of VTS and also tries
303 The freq_step test relies on clocks having a greater precision than what may be
306 The leap-a-day test repeatedly modifies the system date in order to test leap
309 The leapcrash test adjusts the system date and takes several minutes to run.
311 The mqueue_lat test relies on mq_* calls which are not present on Android.
313 The rtctest_setdate test modifies the RTC's time and date which may disrupt the
316 The set-2038 test repeatedly sets the time in order to test edge cases. This
317 may disrupt the target enviornment. The test also takes a long time.
319 The set-tz test sets the timezone which may disrupt the target environment.
321 The skew_consistency test takes too long to run as part of VTS.
325 This test depends on CONFIG_USER_NS which is not required by Android.
329 This test depends on a kernel module enabled by CONFIG_TEST_USER_COPY. This
334 The hugepage-mmap, hugepage-shm, compaction, and map_hugetlb tests rely on
339 The watchdog test depends on CONFIG_WATCHDOG which is not required by Android.
343 The zram test depends on CONFIG_ZSMALLOC and CONFIG_ZRAM which are not required