[OE-core] [PATCH 0/4] Enable automated sdk tests

Corneliu Stoicescu corneliux.stoicescu at intel.com
Sat Aug 9 10:59:05 UTC 2014


This series of patches contain the changes and additions needed to enable automated sdk tests. They are handeled similar to the automated runtime tests, sharing both code and test files.

The original version of these patches was created by Richard Purdie <richard.purdie at linuxfoundation.org>.

However, I did not manage to sort out all the isses, and here they are:
- no setUpModule is used in the sdk test modules. This mean these tests will run for every sdk test run(not really an issue, as long as the tests are configured well)
- I left out the testsdk_auto task (should wotk similar to testimage_auto) because I did not get it to work properly. Please note that, for some reason, testimage_auto is also faulty. I will open a bug for this.

Here is the TODO list for this:
- add a cache system for package downloading (using /tmp to download packages for testing means we have to re-download them every time)
- investigate: unify the files/ directory for all tests (now we have a specific runtime/files/ directory for example)


Corneliu Stoicescu (4):
  meta/classes/testimage.bbclass: add testsdk task and enable
    functionality for it.
  oeqa/oetest.py: enable sdk testing
  oeqa/utils/targetbuild.py: add support for sdk tests
  oeqa/sdk/: add sdk tests for sudoku, iptables and cvs

 meta/classes/testimage.bbclass     | 97 +++++++++++++++++++++++++++++++++++---
 meta/lib/oeqa/oetest.py            | 29 +++++++-----
 meta/lib/oeqa/sdk/__init__.py      |  3 ++
 meta/lib/oeqa/sdk/buildcvs.py      | 25 ++++++++++
 meta/lib/oeqa/sdk/buildiptables.py | 26 ++++++++++
 meta/lib/oeqa/sdk/buildsudoku.py   | 22 +++++++++
 meta/lib/oeqa/utils/targetbuild.py | 94 ++++++++++++++++++++++++++++++------
 7 files changed, 263 insertions(+), 33 deletions(-)
 create mode 100644 meta/lib/oeqa/sdk/__init__.py
 create mode 100644 meta/lib/oeqa/sdk/buildcvs.py
 create mode 100644 meta/lib/oeqa/sdk/buildiptables.py
 create mode 100644 meta/lib/oeqa/sdk/buildsudoku.py

-- 
1.8.3.2



More information about the Openembedded-core mailing list