Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/plan/11-boot-and-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ The KUnit suites that test the compiler most directly are run first and reported

From K5, on Current for X64 and A64.

**kselftest** collections are pinned in `rows.toml`: `breakpoints`, `capabilities`, `clone3`, `core`, `exec`, `futex`, `kcmp`, `membarrier`, `mm`, `mqueue`, `pidfd`, `proc`, `rseq` (X64 only), `seccomp`, `sigaltstack`, `size`, `timens`, `timers`, `x86` (X64 only), `arm64` (A64 only), `vDSO`, `ptrace`, `syscall_user_dispatch`, `landlock`, `splice`, `sync`, `user_events`.
**kselftest** collections are pinned in `rows.toml`: `breakpoints`, `capabilities`, `clone3`, `core`, `exec`, `futex`, `kcmp`, `membarrier`, `mm`, `mqueue`, `pidfd`, `proc`, `rseq` (X64 only), `seccomp`, `sigaltstack` (`signal` from 7.3 on), `size`, `timens`, `timers`, `x86` (X64 only), `arm64` (A64 only), `vDSO`, `ptrace`, `syscall_user_dispatch`, `landlock`, `splice`, `sync`, `user_events`.

They are built by `make -C tools/testing/selftests TARGETS=... CC=<rucc>`. The built programs are user programs, so rucc compiles both sides of the syscall boundary. For attribution, every collection also runs with GCC-built selftest binaries against the rucc kernel (11.7).

Expand Down
15 changes: 9 additions & 6 deletions rows.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
# leaves it out when the host is the row's own architecture, so a row can name it and still build
# natively. `image` is the make target for the boot image. The QEMU fields are read by `rk boot`.
# `selftests` are the kselftest collections pinned for the row (plan 11.5), which `rk selftests`
# builds and `rk test --kinds kselftest` runs. `ltp` are the LTP runtest files, which `rk ltp`
# builds and `rk test --kinds ltp` runs, one boot each.
# builds and `rk test --kinds kselftest` runs. 7.3 renamed `sigaltstack` to `signal`, so both are
# listed, and a collection the tree does not have builds no programs and is left out. `ltp` are
# the LTP runtest files, which `rk ltp` builds and `rk test --kinds ltp` runs, one boot each.

[[row]]
name = "X64"
Expand All @@ -18,8 +19,9 @@ cpu = "max"
console = "ttyS0"
selftests = [
"breakpoints", "capabilities", "clone3", "core", "exec", "futex", "kcmp", "membarrier", "mm",
"mqueue", "pidfd", "proc", "rseq", "seccomp", "sigaltstack", "size", "timens", "timers",
"vDSO", "ptrace", "syscall_user_dispatch", "landlock", "splice", "sync", "user_events", "x86",
"mqueue", "pidfd", "proc", "rseq", "seccomp", "sigaltstack", "signal", "size", "timens",
"timers", "vDSO", "ptrace", "syscall_user_dispatch", "landlock", "splice", "sync",
"user_events", "x86",
]
ltp = ["syscalls", "syscalls-ipc", "mm", "fs", "pty", "sched", "math", "cve", "containers"]

Expand All @@ -36,8 +38,9 @@ console = "ttyAMA0"
# never finishes on either kernel, so the boot only ever ends at rk's own limit and tells nothing.
selftests = [
"breakpoints", "capabilities", "clone3", "core", "exec", "futex", "kcmp", "membarrier", "mm",
"mqueue", "pidfd", "proc", "seccomp", "sigaltstack", "size", "timens", "timers", "vDSO",
"ptrace", "syscall_user_dispatch", "landlock", "splice", "sync", "user_events", "arm64",
"mqueue", "pidfd", "proc", "seccomp", "sigaltstack", "signal", "size", "timens", "timers",
"vDSO", "ptrace", "syscall_user_dispatch", "landlock", "splice", "sync", "user_events",
"arm64",
]
ltp = ["syscalls", "syscalls-ipc", "mm", "fs", "pty", "sched", "math", "cve", "containers"]

Expand Down
Loading