cmd/natlab-test-matrix,tstest/natlab/vmtest: add test matrix tool (#21818)

Add experimental tool for generating a matrix of tests to be run by CI.
This tool will parse the test files in the vmtest folder, and find
candidates that can be with with a set of variations. For now that is
expressed as different flavours of Linux, but it can be expanded across
OS'es but also other things like NAT configurations and portmapper
extensions available.

Updates #21817

Signed-off-by: Claus Lensbøl <claus@tailscale.com>
This commit is contained in:
Claus Lensbøl authored and GitHub committed 2026-10-28 14:05:30 -04:00
1 parent 3a38840ccc
commit 41d25e0c8f
10 files changed
+355 -7

No files matched your search

+1 -1
View File
@@ -150,7 +150,7 @@ jobs:
# single-test-per-matrix-job model. They stay runnable locally.
run: |
set -euo pipefail
exclude='^(TestGrid|TestPair|TestVnetPerf.*)$'
exclude='^(TestGrid|TestPair|TestMatrix|TestVnetPerf.*)$'
tmp=$(mktemp)
for pkg_dir in tstest/natlab/vmtest; do
pkg="./${pkg_dir}/"