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)

Signed-off-by: Stefan Stanacar <stefanx.stana...@intel.com>
---
 buildset-config.master/nightly-deb.conf | 6 +++++-
 buildset-config.master/nightly-ipk.conf | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/buildset-config.master/nightly-deb.conf 
b/buildset-config.master/nightly-deb.conf
index 648401b..7ed5eed 100644
--- a/buildset-config.master/nightly-deb.conf
+++ b/buildset-config.master/nightly-deb.conf
@@ -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'}}]
diff --git a/buildset-config.master/nightly-ipk.conf 
b/buildset-config.master/nightly-ipk.conf
index bf7c613..c96d098 100644
--- a/buildset-config.master/nightly-ipk.conf
+++ b/buildset-config.master/nightly-ipk.conf
@@ -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'}}]
-- 
1.8.5.3

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to