pr 00.1 change run budget to remove hardware constraints
This commit is contained in:
@@ -71,9 +71,10 @@ fn test_integration_test01_link() {
|
||||
|
||||
let mut native = SimpleNative;
|
||||
let mut hw = SimpleHardware::new();
|
||||
let mut ctx = HostContext::new(Some(&mut hw));
|
||||
|
||||
// Run for a bit
|
||||
let report = vm.run_budget(1000, &mut native, &mut hw).expect("VM execution failed");
|
||||
let report = vm.run_budget(1000, &mut native, &mut ctx).expect("VM execution failed");
|
||||
|
||||
// It should not trap. test01 might loop or return.
|
||||
if let LogicalFrameEndingReason::Trap(t) = report.reason {
|
||||
|
||||
Reference in New Issue
Block a user