ref: 5bbd96322035c37a9d20b8624ee83b98a9550ff0
parent: 0b8249442ef12b7ea061ce15211991333baa4bee
author: Martin Storsjö <martin@martin.st>
date: Fri Aug 7 04:46:50 EDT 2020
checkasm: Add ifdefs around the readtime check This fixes building in configurations where no readtime implementation is available at all, such as MSVC targeting 32 bit ARM. This was missed when the check was added in 95a192549a448b70d9542e840c4e34b60d09b093.
--- a/tests/checkasm/checkasm.c
+++ b/tests/checkasm/checkasm.c
@@ -566,6 +566,7 @@
dav1d_init_cpu();
+#ifdef readtime
if (state.bench_pattern) {
static int testing = 0;
checkasm_save_context();
@@ -579,6 +580,7 @@
return 1;
}
}
+#endif
int ret = 0;