summaryrefslogtreecommitdiff
path: root/tests/if.cc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-17 19:56:53 -0400
committerbd <bdunahu@operationnull.com>2025-04-17 19:56:53 -0400
commit984ce6eef2e439955ff991f90c2b654be7c6c3f3 (patch)
treee936781b52c6846d87c98381ed47bc7da7c43bff /tests/if.cc
parent082200691a5d95f716a9d1dc127c858322cdff37 (diff)
Add option to turn off pipeline
Diffstat (limited to 'tests/if.cc')
-rw-r--r--tests/if.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/if.cc b/tests/if.cc
index 01070ef..8b30d0e 100644
--- a/tests/if.cc
+++ b/tests/if.cc
@@ -73,9 +73,7 @@ class IFFixture
TEST_CASE_METHOD(IFFixture, "fetch returns single instuction", "[if_pipe]")
{
InstrDTO *i;
- int expected_cycles;
- expected_cycles = this->m_delay + this->c_delay + 2;
i = this->fetch_through();
REQUIRE(i->get_instr_bits() == this->p[0]);