diff options
| author | Florent Revest <revest@chromium.org> | 2024-12-19 18:03:45 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-12-19 17:56:03 +0000 |
| commit | c87fa8a37ac49ac0cbc2c8646a9b057d34415c66 (patch) | |
| tree | 19ae81a1e35c12e33eb8fd6174b249249b4fa5ec | |
| parent | 76e731793e5867fef7bb1dbe763f9bb4d73cb02e (diff) | |
prog: make TestRotationCoverage faster
Now that we added automatically generated syscalls to the Linux corpus,
we added a lot of work to the TestRotationCoverage test. We can make it
faster by skipping all automatically generated syscalls.
| -rw-r--r-- | prog/rotation_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/rotation_test.go b/prog/rotation_test.go index 43026d16e..333b66c75 100644 --- a/prog/rotation_test.go +++ b/prog/rotation_test.go @@ -59,7 +59,7 @@ func TestRotationCoverage(t *testing.T) { calls := make(map[*Syscall]bool) counters := make(map[string]int) for _, call := range target.Syscalls { - if call.Attrs.Disabled { + if call.Attrs.Disabled || call.Attrs.Automatic { continue } calls[call] = true |
