Part Number: AM5718
Tool/software: Code Composer Studio
Hi,
I am using AM5718,Can i able to use google test for testing my developed code ??..If it is possible please share the procedure regarding this..
Regards,
Shan Muhammad
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.
Part Number: AM5718
Tool/software: Code Composer Studio
Hi,
I am using AM5718,Can i able to use google test for testing my developed code ??..If it is possible please share the procedure regarding this..
Regards,
Shan Muhammad
Hi Ki,
I followed your link,Now i'm trying to follow unit test using DSS and JUNIT.I need to call my APIs using DSS for achieving it.
Above link describes API call using memory.writeRegister .How we read back the value returned by the function to a variable using DSS ??.
Regards,
Shan Muhammad
Shan muhammad said:How we read back the value returned by the function to a variable using DSS ??.
The function return value can be either returned in a register or on the stack. You will need to determine which is applicable for your environment and then use the DSS API to read the value of appropriate return register of address on the stack. Check the documentation for your device.
Thanks
ki
Hi Ki,
Returning variable declarations are local,and that's address may change time to time during our execution.Then how we write a fixed test code using your DSS APIs??.How we automate API testing using DSS??.
Regards,
Shan Muhammad
Shan,
DSS is simply a set of APIs to control the debugger. There is no native support (in DSS) for the functionality you are looking for. Hence I can only suggest some workarounds using the existing DSS APIs. But as you can see, the workaround is not perfect. You will need to find the best option that works for your environment.
Thanks
ki