aboutsummaryrefslogtreecommitdiffstats
path: root/executor/test.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-06-02 11:58:29 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-06-04 09:50:32 +0000
commit06bf8101debe879447d0ef3a7a5b84cb11fa5acf (patch)
treed36506158005ab053b33b46559d48ba5e54b4a9e /executor/test.h
parent3f1713c975c911f9ca5d27d0292f7505b176c873 (diff)
executor: remove noshmem mode
All OSes we have now support shmem. Support for Fuchia/Starnix/Windows wasn't implemented, but generally they support shared memory. Remove all of the complexity and code associated with noshmem mode. If/when we revive these OSes, it's easier to properly implement shmem mode for them.
Diffstat (limited to 'executor/test.h')
-rw-r--r--executor/test.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/executor/test.h b/executor/test.h
index 977cbd0ef..d2b0d4b94 100644
--- a/executor/test.h
+++ b/executor/test.h
@@ -201,7 +201,6 @@ static int test_csum_inet_acc()
return 0;
}
-#if SYZ_EXECUTOR_USES_SHMEM
static int test_coverage_filter()
{
struct tmp_cov_filter_t {
@@ -234,7 +233,6 @@ static int test_coverage_filter()
flag_coverage_filter = false;
return 0;
}
-#endif
static struct {
const char* name;
@@ -246,9 +244,7 @@ static struct {
#if GOOS_linux && (GOARCH_amd64 || GOARCH_ppc64 || GOARCH_ppc64le)
{"test_kvm", test_kvm},
#endif
-#if SYZ_EXECUTOR_USES_SHMEM
{"test_coverage_filter", test_coverage_filter},
-#endif
};
static int run_tests()