Skip to content

Commit

Permalink
hello_fpga: fix test cases
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Whisonant <tim.whisonant@intel.com>
  • Loading branch information
tswhison committed Nov 30, 2022
1 parent 3cd4a1b commit d94ebc1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/hello_fpga/hello_fpga.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,8 @@ int main(int argc, char *argv[])

res1 = fpgaBufPoll(accelerator_handle, dsm_wsid, DSM_STATUS_TEST_COMPLETE,
sizeof(uint64_t), 0x1, 1, 100, TEST_TIMEOUT);
if (res1 == FPGA_NOT_FOUND) // fpgaBufPoll() returns FPGA_NOT_FOUND on timeout.
res1 = FPGA_EXCEPTION;
ON_ERR_GOTO(res1, out_free_output, "test timed out");


Expand Down

0 comments on commit d94ebc1

Please sign in to comment.