nightly-deb/ipk: don't use the default tests
PATCH 1/1 nightly-deb/ipk: don't use the default tests
We can't use RunSanityTests as it is because the default
test suites (which are defined in testimage.bbclass) include rpm and smart. Anything included in TEST_SUITES is a mandatory test and will be a fail in this buildset as obviously this images don't have rpm/smart.
Also we can't use 'ping auto' either (which will run all the tests suitable for the image), because for core-image-sato-sdk that will run cvs/iptables/sudoku build tests which take a long time (and we have another buildset nightly-qa-targetbuild for that) so we need to hardcode the list of tests - the same as the defaults for a rpm core-image-sato-sdk, minus rpm and smart (and without smart this RunSanity will take half of the time)
--- buildset-config.master/nightly-deb.conf | 6 +++++- buildset-config.master/nightly-ipk.conf | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-)
buildset-config.master/nightly-deb.conf +5 -1
@@ -15,5 +15,9 @@ steps: [{'SetDest':{}}, {'CreateBBLayersConf': {'buildprovider' : 'yocto'}}, {'SyncPersistDB' : {'distro' : 'poky'}}, {'BuildImages': {'images': 'core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev'}}, - {'RunSanityTests': {'images': 'core-image-minimal core-image-sato core-image-sato-sdk'}}, + {'RunSanityTests': {'images': 'core-image-minimal'}}, + {'CreateAutoConf': {'machine': 'qemux86', 'SDKMACHINE' : 'i686', 'distro': 'poky', 'buildhistory' : True, 'packages': 'ipk'}}, + {'RunSanityTests': {'images' 'core-image-sato', 'suites' : 'ping ssh auto'}}, + {'CreateAutoConf': {'machine': 'qemux86', 'SDKMACHINE' : 'i686', 'distro': 'poky', 'buildhistory' : True, 'packages': 'ipk'}}, + {'RunSanityTests': {'images' : 'core-image-sato-sdk', 'suites' : 'ping ssh df connman syslog xorg scp vnc date perl ldd gcc kernelmodule dmesg python'}}, {'SyncPersistDB' : {'commit' : True, 'distro':'poky'}}]
buildset-config.master/nightly-ipk.conf +5 -1
@@ -15,5 +15,9 @@ steps: [{'SetDest':{}}, {'CreateBBLayersConf': {'buildprovider' : 'yocto'}}, {'SyncPersistDB' : {'distro' : 'poky'}}, {'BuildImages': {'images': 'core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev'}}, - {'RunSanityTests': {'images': 'core-image-minimal core-image-sato core-image-sato-sdk'}}, + {'RunSanityTests': {'images': 'core-image-minimal'}}, + {'CreateAutoConf': {'machine': 'qemux86', 'SDKMACHINE' : 'i686', 'distro': 'poky', 'buildhistory' : True, 'packages': 'ipk'}}, + {'RunSanityTests': {'images' 'core-image-sato', 'suites' : 'ping ssh auto'}}, + {'CreateAutoConf': {'machine': 'qemux86', 'SDKMACHINE' : 'i686', 'distro': 'poky', 'buildhistory' : True, 'packages': 'ipk'}}, + {'RunSanityTests': {'images' : 'core-image-sato-sdk', 'suites' : 'ping ssh df connman syslog xorg scp vnc date perl ldd gcc kernelmodule dmesg python'}}, {'SyncPersistDB' : {'commit' : True, 'distro':'poky'}}]
Signature · 1 line
1.8.5.3