aboutsummaryrefslogtreecommitdiff
path: root/test/radix/terp.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/radix/terp.c')
-rw-r--r--test/radix/terp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/radix/terp.c b/test/radix/terp.c
index 3c83fd9b18b0..41d3bdeb9fd4 100644
--- a/test/radix/terp.c
+++ b/test/radix/terp.c
@@ -871,8 +871,10 @@ err:
}
GEN_SCRIPT_cleanup(&gen_script);
- BIO_printf(debug_bio, "Stats:\n Ops executed: %16llu\n\n",
- (unsigned long long)terp.ops_executed);
+ if (have_terp) {
+ BIO_printf(debug_bio, "Stats:\n Ops executed: %16llu\n\n",
+ (unsigned long long)terp.ops_executed);
+ }
SCRIPT_INFO_print(script_info, debug_bio, /*error=*/!ok,
ok ? "completed" : "failed, exiting");
return ok;