Commit c2ee54a
committed
selftests: add support for VMA userspace tests
Add support for testing VMA userspace tests under the radix tree test
bundle. The VMA tests are located in tools/testing/vma and are
userspace-only tests that don't require kernel module loading like
the existing xarray and maple tree tests.
This extends the SELFTESTS_TEST_BUNDLE_RADIX_TREE configuration to
include VMA testing alongside the existing xarray and maple tree tests.
Demo:
make DEVOPS_HOSTS_PREFIX="mm" defconfig-seltests-radix-tree
make
make linux
make selftests
make sefltests-baseline HOSTS=mm-vma
cat workflows/selftests/results/last-run/6.16.0-rc7/vma.userspace.log
16 tests run, 16 passed, 0 failed
Generated-by: Claude AI
Suggested-by: Liam Howlett <liam.howlett@oracle.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>1 parent 788d0ea commit c2ee54a
3 files changed
Lines changed: 55 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
39 | | - | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| 55 | + | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
| |||
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
72 | | - | |
| 75 | + | |
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
| |||
189 | 192 | | |
190 | 193 | | |
191 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
192 | 215 | | |
193 | 216 | | |
194 | 217 | | |
| |||
315 | 338 | | |
316 | 339 | | |
317 | 340 | | |
| 341 | + | |
318 | 342 | | |
319 | 343 | | |
320 | 344 | | |
| |||
332 | 356 | | |
333 | 357 | | |
334 | 358 | | |
335 | | - | |
| 359 | + | |
336 | 360 | | |
337 | 361 | | |
338 | 362 | | |
339 | | - | |
340 | | - | |
| 363 | + | |
341 | 364 | | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
346 | 376 | | |
347 | | - | |
348 | | - | |
| 377 | + | |
349 | 378 | | |
350 | 379 | | |
351 | 380 | | |
| |||
450 | 479 | | |
451 | 480 | | |
452 | 481 | | |
| 482 | + | |
453 | 483 | | |
454 | 484 | | |
455 | 485 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
81 | 88 | | |
82 | 89 | | |
83 | 90 | | |
| |||
107 | 114 | | |
108 | 115 | | |
109 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
110 | 122 | | |
111 | 123 | | |
112 | 124 | | |
| |||
0 commit comments