diff options
author | bd <bdunahu@operationnull.com> | 2025-04-01 00:49:52 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-01 00:49:52 -0400 |
commit | 6579f7272905d1e25b43ef051da6c2180e60ca2b (patch) | |
tree | a4b217aa56126f7d05304ab93f6c36b66fd6b694 /tests/controller.cc | |
parent | a4e0e5ff6208205f6ebd980f9ed1eca91dcc4311 (diff) |
Ensure all stages only do work if they are not 'OK'
Diffstat (limited to 'tests/controller.cc')
-rw-r--r-- | tests/controller.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/controller.cc b/tests/controller.cc index de49629..f6d9b25 100644 --- a/tests/controller.cc +++ b/tests/controller.cc @@ -62,19 +62,19 @@ TEST_CASE_METHOD(ControllerPipeFixture, "Add until exec", "[tmp]") this->d->load(p); // dram - i = this->ct->advance(OK); + i = this->ct->advance(WAIT); REQUIRE(i == nullptr); // fetch - i = this->ct->advance(OK); + i = this->ct->advance(WAIT); REQUIRE(i == nullptr); // decode - i = this->ct->advance(OK); + i = this->ct->advance(WAIT); REQUIRE(i == nullptr); // exec - i = this->ct->advance(OK); + i = this->ct->advance(WAIT); REQUIRE(i == nullptr); // done - i = this->ct->advance(OK); + i = this->ct->advance(WAIT); REQUIRE(i != nullptr); CHECK(i->get_time_of(FETCH) == 3); |