diff options
| author | Alexander Potapenko <glider@google.com> | 2024-09-25 10:08:11 +0200 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2024-09-25 09:05:57 +0000 |
| commit | 1763a1862f3468b4b1a5cedef9d61ddd8d0e58e8 (patch) | |
| tree | c5a0430a487070745c2d034cbe6aa465a7bc15ea /pkg/csource/csource_test.go | |
| parent | 00b80a6caf589a404967db190707b8f1562a7a3f (diff) | |
pkg/csource: list the newly added SYZ_KVM_ constants in TestExecutorMacros
Diffstat (limited to 'pkg/csource/csource_test.go')
| -rw-r--r-- | pkg/csource/csource_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/csource/csource_test.go b/pkg/csource/csource_test.go index c97757d01..ec7a6bf78 100644 --- a/pkg/csource/csource_test.go +++ b/pkg/csource/csource_test.go @@ -164,6 +164,9 @@ func TestExecutorMacros(t *testing.T) { expected["SYZ_HAVE_RESET_LOOP"] = true expected["SYZ_HAVE_SETUP_TEST"] = true expected["SYZ_TEST_COMMON_EXT_EXAMPLE"] = true + expected["SYZ_KVM_MAX_VCPU"] = true + expected["SYZ_KVM_PAGE_SIZE"] = true + expected["SYZ_KVM_GUEST_MEM_SIZE"] = true macros := regexp.MustCompile("SYZ_[A-Za-z0-9_]+").FindAllString(string(executor.CommonHeader), -1) for _, macro := range macros { if strings.HasPrefix(macro, "SYZ_HAVE_") { |
