This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-J784S4: Force emulation calls to fail

Part Number: PROCESSOR-SDK-J784S4

Tool/software:

Hi,

i'm using vision apps API calls in an emulator. Is there any way to force them to fail (i was thinking mainly about `appCommonInit`)?

Background: i want to be able to test automatically the business logic behind handling such exceptional cases.

Regards,

Jakub

  • Hi,

    By emulator, I believe you are using x86 right? 

    In that case, appCommonInit does only memory initialization. 

    Please check the API appMemInitLocal() in app_utils/utils/mem/src/app_mem_pc.c and check with status can return a failure.

    Regards,

    Nikhil