fixes wrong expectation
This commit is contained in:
parent
d7ce4b9a8e
commit
90002786a4
|
@ -29,12 +29,12 @@ TEST_CASE("simple cci_param_restricted test", "[SCC][cci_param_restricted]") {
|
||||||
|
|
||||||
auto& dut = factory::get<top>();
|
auto& dut = factory::get<top>();
|
||||||
auto run1 = sc_spawn([&dut]() {
|
auto run1 = sc_spawn([&dut]() {
|
||||||
wait(1_ns);
|
sc_core::wait(1_ns);
|
||||||
sc_core::sc_stop();
|
sc_core::sc_stop();
|
||||||
});
|
});
|
||||||
|
|
||||||
sc_start(10_ns);
|
sc_start(10_ns);
|
||||||
REQUIRE(run1.terminated());
|
REQUIRE(run1.terminated());
|
||||||
REQUIRE(sc_report_handler::get_count(SC_ERROR) == 0);
|
REQUIRE(sc_report_handler::get_count(SC_ERROR) == 0);
|
||||||
REQUIRE(sc_report_handler::get_count(SC_WARNING) == 1);
|
REQUIRE(sc_report_handler::get_count(SC_WARNING) == 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue