]> code.ossystems Code Review - openembedded-core.git/commit
testimage.bbclass: Add check for empty test suite
authorMariano Lopez <mariano.lopez@linux.intel.com>
Thu, 9 Feb 2017 13:15:14 +0000 (13:15 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Feb 2017 17:29:43 +0000 (09:29 -0800)
commit8345f834a080737f03bee3f0c615dd9654401d93
treea57c531694c3468d7f2bfd5f573fa601f4ea208d
parentb7d6bb07fd37c55d07903a1e8921f17e39afde0a
testimage.bbclass: Add check for empty test suite

If for some reason (most likely incorrect TEST_SUITES var)
you end with an empty test suite, testimage will start the
target (qemu by default) and will run an empty suite, so
better have a check before starting the target.

[YOCTO #10979]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/testimage.bbclass