From e1ea4a573c623b0a66b062556836a39b27f383b2 Mon Sep 17 00:00:00 2001 From: mlokr Date: Fri, 6 Sep 2024 16:16:42 +0200 Subject: [PATCH] more tests work now --- hblang/src/son.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hblang/src/son.rs b/hblang/src/son.rs index fc943f6..eba0f3c 100644 --- a/hblang/src/son.rs +++ b/hblang/src/son.rs @@ -2901,6 +2901,10 @@ mod tests { 3 => vm.write_reg(1, 42), unknown => unreachable!("unknown ecall: {unknown:?}"), }, + Ok(hbvm::VmRunOk::Timer) => { + writeln!(output, "timed out").unwrap(); + break Ok(()); + } Ok(ev) => writeln!(output, "ev: {:?}", ev).unwrap(), Err(e) => break Err(e), } @@ -2933,7 +2937,7 @@ mod tests { //struct_return_from_module_function => README; ////comptime_pointers => README; //sort_something_viredly => README; - //hex_octal_binary_literals => README; + hex_octal_binary_literals => README; //comptime_min_reg_leak => README; ////structs_in_registers => README; //comptime_function_from_another_file => README;