Re: [PATCH v2 2/2] selftests: KVM: use dirty logging to check if page stats work correctly

From: Mingwei Zhang
Date: Mon Aug 30 2021 - 00:42:31 EST


> dirty_log_perf_test.c: In function 'run_test':
> >> dirty_log_perf_test.c:236:28: error: macro "TEST_ASSERT" requires 3 arguments, but only 1 given
> 236 | "2M page number is zero");
> | ^
> In file included from include/kvm_util.h:10,
> from dirty_log_perf_test.c:17:
> include/test_util.h:46: note: macro "TEST_ASSERT" defined here
> 46 | #define TEST_ASSERT(e, fmt, ...) \
> |
> >> dirty_log_perf_test.c:235:3: error: 'TEST_ASSERT' undeclared (first use in this function)
> 235 | TEST_ASSERT(get_page_stats(X86_PAGE_SIZE_2M) > 0
> | ^~~~~~~~~~~
> dirty_log_perf_test.c:235:3: note: each undeclared identifier is reported only once for each function it appears in
>

Sorry, there is one fix not checked in before I sent it out. Will fix
it in the next version.