summaryrefslogtreecommitdiff
path: root/tests/controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/controller.cc')
-rw-r--r--tests/controller.cc10
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);