Closed mukundsharma15 closed 5 years ago
I'm able to run mbedhtrun from the command line without using mbed cli or greentea. However, you still need the c side, the DUT side, and I think they call that "greentea api" ( even though it's really talking to htrun ) You must at a minimum call GREENTEA_SETUP to exchange sync tokens. Then you can use the TEST_ASSERT or other methods to pass/fail tests
GREENTEA_SETUP(120, "default_auto");
yes, my aim is to implement both DUT side and HOST side, but not able to understand this greentea framework concept , It is like forcing all the steps, what if i dont want to start execution with __sync?, i have tried implementing htrun independently but didn't work for me. as i have to use greentea client api to use htrun which i don't want
Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-43
Hi @mukundsharma1995 , you may have seen that htrun is moving to https://github.com/armmbed/mbed-os-tools. This week I'm going through the existing issues and doing a little clean up. Do you have any interest in pursuing this further?
Hi @mukundsharma1995 , we are moving the project today, so I'll be closing this issue. If this is an issue you are still interested in, please go ahead and reopen this issue! I will then transfer it to the https://github.com/armmbed/mbed-os-tools repo. Thanks!
I am following this GitHub link for htrun -- https://github.com/ARMmbed/htrun But what I want to do is to implement Htrun on host side, The DUT side will be taken care of, Is there any way to use the functionality of HTRUN on host and exchanges key-value messages between DUT and host.
The above resource explains the interaction between greentea client and htrun, I didn't find any specific example for fully implement htrun and exchange key;values
What i tried is mbedhtrun to flash and reset, after that?? how can I send data serially and get response, not able to find specific resource for this.
I am new to this mbed and htrun please share some useful resources.
what I tried looks like:
-- mbedhtrun -d D: -p /dev/ttyUSB0:115200 -- {{__sync;5f8dbbd2-199a-449c-b286-343a57da7a37}}
after this how can I use those setup(), and callback methods? how can i use serial Tx and Rx to communicate from raspberry pi to DUT?
I am not able to completely understand greentea and htrun, a good example will be appreciated.. Thanks in advance
@ARMmbed @bridadan