How can I test my changes to the SDK test cases?#

How can I test my changes to the SDK test cases?

I’ve written some changes to some SDK test cases and I want to test them locally, how is that possible?

Run SDK tests

When using a real piece of hardware you can run the following from a scotty shell environment

$ bitbake <image-name> -c do_testcustomsdk

runtime cases only

This method applies only the test cases defined under lib/oeqa/sdk/cases

Grab a coffee

Depending on how many test cases are configured for the chosen image, running the test suite can take a while. So it might be the perfect time to grab a coffee.