Tests are adjusted to use blocking FPGA mode
This commit is contained in:
@@ -77,7 +77,7 @@ TEST_CASE("HLS_C_Simulation_internal_packet_generator_custom_frame", "[FPGA][Ful
|
||||
|
||||
HLSSimulatedDevice test(0, 64);
|
||||
test.SetCustomInternalGeneratorFrame(test_frame);
|
||||
test.SetFPGANonBlockingMode(true);
|
||||
test.SetFPGANonBlockingMode(false);
|
||||
|
||||
REQUIRE_NOTHROW(test.StartAction(x));
|
||||
REQUIRE_NOTHROW(test.WaitForActionComplete());
|
||||
@@ -119,7 +119,7 @@ TEST_CASE("HLS_C_Simulation_check_raw", "[FPGA][Full]") {
|
||||
HLSSimulatedDevice test(0, 64);
|
||||
test.CreatePackets(x, 1, 5, 0, raw_frames.data(), true);
|
||||
test.CreateFinalPacket(x);
|
||||
|
||||
test.SetFPGANonBlockingMode(false);
|
||||
REQUIRE_NOTHROW(test.StartAction(x));
|
||||
REQUIRE_NOTHROW(test.WaitForActionComplete());
|
||||
|
||||
@@ -253,6 +253,7 @@ TEST_CASE("HLS_C_Simulation_check_lost_frame_raw", "[FPGA][Full]") {
|
||||
|
||||
test.CreatePacketJF(x, 1, 0, 0, data, false);
|
||||
test.CreateFinalPacket(x);
|
||||
test.SetFPGANonBlockingMode(false);
|
||||
|
||||
REQUIRE_NOTHROW(test.StartAction(x));
|
||||
REQUIRE_NOTHROW(test.WaitForActionComplete());
|
||||
|
||||
Reference in New Issue
Block a user