From ac0ae7206491a42cdba70560b0db41cfc8c7f642 Mon Sep 17 00:00:00 2001 From: bd Date: Sat, 29 Mar 2025 12:58:14 -0400 Subject: Add parameter to Stage::advance so status can transfer down the pipe --- tests/if.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/if.cc') diff --git a/tests/if.cc b/tests/if.cc index 3e68ac4..3be3305 100644 --- a/tests/if.cc +++ b/tests/if.cc @@ -36,7 +36,7 @@ class IFPipeFixture Response r; for (i = 0; i < this->m_delay + 1; ++i) { - r = this->ct->advance(instr); + r = this->ct->advance(instr, OK); // check response CHECK(r == BLOCKED); } @@ -52,11 +52,11 @@ class IFPipeFixture Response r; for (i = 0; i < this->c_delay; ++i) { - r = this->ct->advance(instr); + r = this->ct->advance(instr, OK); // check response CHECK(r == WAIT); } - r = this->ct->advance(instr); + r = this->ct->advance(instr, OK); // check response CHECK(r == OK); } -- cgit v1.2.3