]> code.ossystems Code Review - openembedded-core.git/commit
test: Add scenario file for each target and support single case running
authorJiajun Xu <jiajun.xu@intel.com>
Wed, 18 Aug 2010 14:02:08 +0000 (22:02 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 27 Aug 2010 12:04:37 +0000 (13:04 +0100)
commit7303807ef13c0a02434941852530fecce8778619
treeb7e0db2a3f1a8dbace7e1069fc87a09b5b406094
parent192d6994cb56ca3d1e93780d8d2544e54440d356
test: Add scenario file for each target and support single case running

Different test cases are needed for different targets. A folder "scenario"
is created under scripts/qemuimage-tests to hold scenario files for different
targets.

Single case running is supported now. User can run single case together with
a whole test suite by setting variable TEST_SCEN in local.conf.

By default test cases in sanity suite will be ran. If you want to run other
test suite or specific test case(e.g. bat or boot test case under sanity suite),
list them like following.
TEST_SCEN = "sanity bat sanity:boot"

Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
14 files changed:
meta/classes/imagetest-qemu.bbclass
meta/conf/local.conf.sample
scripts/qemuimage-tests/scenario/qemuarm/poky-image-minimal [new file with mode: 0644]
scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato [new file with mode: 0644]
scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk [new file with mode: 0644]
scripts/qemuimage-tests/scenario/qemumips/poky-image-minimal [new file with mode: 0644]
scripts/qemuimage-tests/scenario/qemumips/poky-image-sato [new file with mode: 0644]
scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk [new file with mode: 0644]
scripts/qemuimage-tests/scenario/qemuppc/poky-image-minimal [new file with mode: 0644]
scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato [new file with mode: 0644]
scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk [new file with mode: 0644]
scripts/qemuimage-tests/scenario/qemux86/poky-image-minimal [new file with mode: 0644]
scripts/qemuimage-tests/scenario/qemux86/poky-image-sato [new file with mode: 0644]
scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk [new file with mode: 0644]