From 5e64dbec81504aaacac1e733edd5230f59670466 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 13 Jul 2024 21:36:02 +0300 Subject: make tests only compile once + Select between jit/bytecode with a runtime parameter --- tests/ldi_i64.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/ldi_i64.c') diff --git a/tests/ldi_i64.c b/tests/ldi_i64.c index a7a8c98..0815ad8 100644 --- a/tests/ldi_i64.c +++ b/tests/ldi_i64.c @@ -2,8 +2,10 @@ #include #include "do_jit.h" -int main() +int main(int argc, char *argv[]) { + (void)argv; + bool do_jit = argc > 1; static uint64_t data[] = { 0xffffffffffffffff, 0x00000000, 0x42424242 }; -- cgit v1.2.3