Reduce the save/restore/resume syscall test duplication.

Currently we run both save/restore and save/resume tests with both AMD and ARM.
So 4 variants. This is too much even for continuous testing.

Run save/restore with AMD and save/resume with ARM. Gives us the desired
coverage. I don't think there is anything architecture specific in resume vs
restore logic.

PiperOrigin-RevId: 702036507
This commit is contained in:
Ayush Ranjan
2024-12-02 11:45:55 -08:00
committed by gVisor bot
parent b03b5f02ac
commit 688ead81a7
+3 -16
View File
@@ -288,6 +288,7 @@ steps:
<<: *kvm_agents
cgroup: "v2"
arch: "amd64"
# All system call tests.
- <<: *common
label: ":toolbox: System call tests (AMD64)"
@@ -304,7 +305,7 @@ steps:
parallelism: 10
agents:
arch: "arm64"
# All Save Restore system call tests.
# With Save Restore on AMD64.
- <<: *common
<<: *source_test_continuous
label: ":muscle: System call save restore tests (AMD64)"
@@ -312,21 +313,7 @@ steps:
parallelism: 20
agents:
arch: "amd64"
- <<: *common
<<: *source_test_continuous
label: ":muscle: System call save restore tests (ARM64)"
command: make BAZEL_OPTIONS=--test_tag_filters=save_restore syscall-tests
parallelism: 10
agents:
arch: "arm64"
# All Save Resume system call tests.
- <<: *common
<<: *source_test_continuous
label: ":muscle: System call save resume tests (AMD64)"
command: make BAZEL_OPTIONS=--test_tag_filters=save_resume syscall-tests
parallelism: 20
agents:
arch: "amd64"
# With Save Resume on ARM64.
- <<: *common
<<: *source_test_continuous
label: ":muscle: System call save resume tests (ARM64)"