default-versions.inc is included by defaultsetup.conf which in bitbake.conf
is included after local/machine/distro.conf.
If these are hard assignments distros can's overwrite them.
Signed-off-by: Stefan Stanacar
---
meta/conf/distro/include/default-versions.inc | 6 +++---
1 file changed, 3
default-versions.inc is included by defaultsetup.conf which in bitbake.conf
is included after local/machine/distro.conf.
If these are hard assignments distros can's overwrite them.
Signed-off-by: Stefan Stanacar
---
meta/conf/distro/include/default-versions.inc | 6 +++---
1 file changed, 3
default-versions.inc is included by defaultsetup.conf which in bitbake.conf
is included after local/machine/distro.conf.
If these are hard assignments distros can's overwrite them.
Signed-off-by: Stefan Stanacar
---
meta/conf/distro/include/default-versions.inc | 6 +++---
1 file changed, 3
Ping?
On Mon, Jan 29, 2018 at 4:38 PM, Stefan Stanacar <sst...@gmail.com> wrote:
> do_unpack is by default in SRCTREECOVEREDTASKS so this append can't run,
> since
> do_unpack gets removed by when externalsrc is enabled.
>
> This was hidden because externalsrc does
.
(which is the case for linux-yocto).
Make this a separate task so that it actually gets run for kernel recipes with
no file:// or type=kmeta in SRC_URI.
Signed-off-by: Stefan Stanacar <sst...@gmail.com>
---
meta/classes/kernel.bbclass | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
-kernel/linux/linux-yocto_4.8.bb
Signed-off-by: Stefan Stanacar <sst...@gmail.com>
---
meta/classes/kernelsrc.bbclass | 2 +-
meta/recipes-kernel/perf/perf.bb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/classes/kernelsrc.bbclass b/meta/classes/kernelsrc.b
.
(which is the case for linux-yocto).
Make this a separate task so that it actually gets run for kernel recipes with
no file:// or type=kmeta in SRC_URI.
Signed-off-by: Stefan Stanacar <sst...@gmail.com>
---
meta/classes/kernel.bbclass | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
On Wed, Jan 17, 2018 at 9:04 PM, akuster808 <akuster...@gmail.com> wrote:
>
>
> On 01/11/2018 08:07 AM, Stefan Stanacar wrote:
> > do_unpack is by default in SRCTREECOVEREDTASKS so this append can't run,
> since
> > this tasks gets removed by externalsrc when
On Fri, Jan 12, 2018 at 6:21 PM, Joshua Watt <jpewhac...@gmail.com> wrote:
> On Thu, 2018-01-11 at 16:07 +0000, Stefan Stanacar wrote:
> > When externalsrc is enabled for kernel, do_patch doesn't exist since
> > is in
> > SRCTREECOVEREDTASKS, so make these depend on
recipe.
(e.g linux-yocto).
Make this a separate task so that it actually gets run for kernel recipes with
no file:// or type=kmeta in SRC_URI.
Signed-off-by: Stefan Stanacar <sst...@gmail.com>
---
meta/classes/kernel.bbclass | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
recipe.
(e.g linux-yocto).
Make this a separate task so that it actually gets run for kernel recipes with
no file:// or type=kmeta in SRC_URI.
Signed-off-by: Stefan Stanacar <sst...@gmail.com>
---
meta/classes/kernel.bbclass | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
-kernel/linux/linux-yocto_4.8.bb
Signed-off-by: Stefan Stanacar <sst...@gmail.com>
---
meta/classes/kernelsrc.bbclass | 2 +-
meta/recipes-kernel/perf/perf.bb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/classes/kernelsrc.bbclass b/meta/classes/kernelsrc.b
On Jun 6, 2014 8:11 PM, Corneliu Stoicescu corneliux.stoice...@intel.com
wrote:
YB: #6254
The QemuTargetControl class does not specify any kernel naming but the
runqemu script it uses uses the KERNEL_IMAGETYPE + MACHINE + '.bin'
naming scheme.
Modifying the other major target controller
Hi Corneliu,
On Fri, Jun 6, 2014 at 10:14 PM, Corneliu Stoicescu
corneliux.stoice...@intel.com wrote:
YB: #6375
Added a new method get_image_fstype() that autodetermines what fstype to use
for the rootfs file.
This method uses a new list variable 'supported_image_fstypes' that contains
On Sat, Jun 7, 2014 at 1:54 PM, Stefan Stanacar sst...@gmail.com wrote:
On Jun 6, 2014 8:11 PM, Corneliu Stoicescu corneliux.stoice...@intel.com
wrote:
YB: #6254
The QemuTargetControl class does not specify any kernel naming but the
runqemu script it uses uses the KERNEL_IMAGETYPE
Hi Corneliu,
I haven't carefully reviewed this series so if I didn't quite got the
point of some things, sorry...
At a first look, here are my thoughts (this is actually a reply to the
entire series, I seem to have lost the cover letter):
- It seems wierd that you instantiate the target
On May 29, 2014 2:16 PM, Richard Purdie
richard.pur...@linuxfoundation.org wrote:
On Tue, 2014-05-27 at 12:22 +0200, Adrian Freihofer wrote:
Fixes [YOCTO #6356]
Problem: If QEMU parameters are extended to emulate additional
network interfaces, NFS boot does not work. Example:
runqemu
On Tue, May 27, 2014 at 12:50 PM, Corneliu Stoicescu
corneliux.stoice...@intel.com wrote:
---
meta-yocto-bsp/lib/oeqa/controllers/beaglebonetarget.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
As this patch is for meta-yocto-bsp this should be sent to
p...@yoctoproject.org
Hi Lucian,
On Fri, May 16, 2014 at 11:44 AM, Lucian Musat
georgex.l.mu...@intel.com wrote:
class SmartRepoTest(SmartTest):
@@ -54,11 +54,12 @@ class SmartRepoTest(SmartTest):
@classmethod
def tearDownClass(self):
self.repo_server.stop()
+ smartsRepo =
Hi Lucian,
I'm afraid that you added some lines in the smart.py module, that
shouldn't be there. Also a patch description would be nice, explaining
why this is needed.
On Tue, May 13, 2014 at 2:43 PM, Lucian Musat georgex.l.mu...@intel.com wrote:
diff --git a/meta/lib/oeqa/runtime/smart.py
Signed-off-by: Stefan Stanacar sst...@gmail.com
---
scripts/cleanup-workdir | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/scripts/cleanup-workdir b/scripts/cleanup-workdir
index 25fef97..cffac59 100755
--- a/scripts/cleanup-workdir
+++ b/scripts/cleanup-workdir
@@ -49,9
Log the output of the command as it runs not when it finished, else
tail -f
tmp/work/minnow-poky-linux/core-image-sato/1.0-r0/testimage/ssh_target_log
isn't as useful as it could be.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/utils/sshcontrol.py | 19
Now that there is a public instance [1] of the error report web interface [2],
we should set it as the default.
[1] http://errors.yoctoproject.org/
[1] http://git.yoctoproject.org/cgit/cgit.cgi/error-report-web/
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
scripts/send-error
Now that there is a public instance [1] of the error report web interface [2],
we should set it as the default.
[1] http://errors.yoctoproject.org/
[2] http://git.yoctoproject.org/cgit/cgit.cgi/error-report-web/
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
scripts/send-error
Using the free space of the host works when
oe-selftest is the only build running, but if something else
on the host remove things this will fail (as seen on AB).
Using an absurdly high value should fix this.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/selftest
for proxy) but those require more changes than
I feel confortable doing now.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
scripts/send-error-report | 27 +--
1 file changed, 21 insertions(+), 6 deletions(-)
diff --git a/scripts/send-error-report b/scripts
Now that we have an YP instance of the error report web interface [1],
that should be set as the default instead of localhost.
[1] http://git.yoctoproject.org/cgit/cgit.cgi/error-report-web/
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
scripts/send-error-report | 2 +-
1 file
People behind a proxy couldn't send an error report to an upstream server,
this should fix the issue if they use a proxy that doesn't require
authentication,
or one that uses basic http authentication and it's correctly exported in the
enviroment.
Signed-off-by: Stefan Stanacar stefanx.stana
]
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/recipes-kernel/linux/linux-yocto_3.14.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-kernel/linux/linux-yocto_3.14.bb
b/meta/recipes-kernel/linux/linux-yocto_3.14.bb
index d5202cd..46c4260 100644
on a previous version sent by Saul Wold s...@linux.intel.com
[YOCTO #5954]
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/classes/image.bbclass | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
rootfs
Part of [YOCTO #5614]
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
.../initrdscripts/files/init-install-efi-testfs.sh | 199 +++
.../initrdscripts/files/init-install-testfs.sh | 211 +
.../initramfs-live-install-efi-testfs_1.0.bb
and rootfs
- the master image has a /etc/masterimage file so it can differentiate between
master
and test images
- the master image has tar, mount, bash (basically the normal linux utilities
not the busybox
ones)
[YOCTO #5614]
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
is defined it would use classic reboot. This is fine as long
as the machine
actually reboots (as in the ssh test hasn't failed), but it's useful for
simple-setup-with-one-board-on-the-desk scenario, where
some manual interaction is okay from time to time.
[YOCTO #5614]
Signed-off-by: Stefan Stanacar
://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=stefans/masterimage
Stefan Stanacar (3):
initrdscripts: add install scripts with a second rootfs
recipes-extended: add master image for testing purposes
lib/oeqa: add a test target controller for EFI targets
meta/lib/oeqa/controllers/masterimage.py
49aad7da07e187f206e963001844605731b01247:
bitbake: runqueue: Remove use of waitpid on worker processes (2014-03-19
17:46:33 +)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib stefans/masterimage
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=stefans/masterimage
Stefan
,
they just need to follow the same schema.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
.../initrdscripts/files/init-install-efi-testfs.sh | 36 --
.../initrdscripts/files/init-install-testfs.sh | 33 +++-
.../initramfs-live-install-efi
- the master image has a /etc/masterimage file so it can differentiate between
master
and test images
- the master image has tar, mount, bash (basically the normal linux utilities
not the busybox
ones)
[YOCTO #5614]
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
.../images/core
-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/controllers/masterimage.py | 124 +++
meta/lib/oeqa/runtime/ssh.py | 2 +
2 files changed, 126 insertions(+)
create mode 100644 meta/lib/oeqa/controllers/masterimage.py
diff --git a/meta/lib
These are the install files for a live image, an exact copy of init-install.sh
and init-install-efi.sh from core. There are renamed here with -testfs.
This is just a dummy commit, just to make it easier to see the diff
in the next commit.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=15688798520896690561824b2fdc227c8a365c82
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/utils/qemurunner.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oeqa/utils/qemurunner.py
b/meta/lib
== is a bashism use = instead.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/recipes-extended/lsb/lsbtest/LSB_Test.sh | 4 ++--
meta/recipes-extended/lsb/lsbtest_1.0.bb | 8
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/meta/recipes-extended
KERNEL_FEATURES_append = cfg/efi-ext
in local.conf.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/classes/gummiboot.bbclass | 114 +
.../initrdscripts/files/init-install-efi.sh| 51 ++---
2 files changed, 149 insertions(+), 16 deletions
=y at least
- The default linux-yocto kernel config does not enable that, easiest way
to enable is to build with KERNEL_FEATURES_append = cfg/efi-ext in local.conf
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/recipes-bsp/gummiboot/gummiboot_git.bb | 25
gnu-efi is required by gummiboot.
Imported from meta-intel, PR dropped, no new version available.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
.../gnu-efi/gnu-efi/parallel-make-archives.patch | 48 ++
.../gnu-efi/gnu-efi/parallel-make.patch| 22
Abstract away some names so one can select using EFI_PROVIDER a different
class than grub-efi for populating live images, basically allowing the use
of a different bootloader than grub-efi.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/classes/boot-directdisk.bbclass | 7
gnu-efi is required by gummiboot.
Imported from meta-intel, PR dropped, no new version available.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
.../gnu-efi/gnu-efi/parallel-make-archives.patch | 48 ++
.../gnu-efi/gnu-efi/parallel-make.patch| 22
=y at least
- The default linux-yocto kernel config does not enable that, easiest way
to enable is to build with KERNEL_FEATURES_append = cfg/efi-ext in local.conf
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/recipes-bsp/gummiboot/gummiboot_git.bb | 25
Abstract away some names so one can select using EFI_PROVIDER a different
class than grub-efi for populating live images, basically allowing the use
of a different bootloader than grub-efi.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/classes/boot-directdisk.bbclass | 7
abe417e22b1b55c60f722ca434f9d382ef87:
classes/uboot-config: ignore doc varflag (2014-03-07 15:05:09 +)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib stefans/gummiboot
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=stefans/gummiboot
Stefan Stanacar (4
KERNEL_FEATURES_append = cfg/efi-ext
in local.conf.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/classes/gummiboot.bbclass | 114 +
.../initrdscripts/files/init-install-efi.sh| 51 ++---
2 files changed, 149 insertions(+), 16 deletions
We had the ability to use a custom port for the ssh connection,
but we weren't using it.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/targetcontrol.py | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oeqa/targetcontrol.py b/meta
This was wrong and if one would do TEST_TARGET = SimpleRemoteTarget
instead of TEST_TARGET = simpleremote it would complain
that there is no such controller when there is.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/targetcontrol.py | 3 ++-
1 file changed, 2
If some service is to spammy we might miss the login, so search
in the entire log instead of just the last few lines.
Use qemu in regex too (to avoid a login string from some service).
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/utils/qemurunner.py | 3 +--
1 file
Abstract away some names so one can select using EFI_PROVIDER a different
class than grub-efi for populating live images, basically allowing the use
of a different bootloader than grub-efi.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/classes/boot-directdisk.bbclass | 7
a01af0202558e6ed9d16590b3a8d1dd1b95c0374:
recipes: bump PRs (2014-03-05 17:36:37 +)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib stefans/gummiboot
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=stefans/gummiboot
Stefan Stanacar (3):
recipes-bsp: Add gummiboot
KERNEL_FEATURES_append = cfg/efi-ext
in local.conf.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/classes/gummiboot.bbclass | 112 +
.../initrdscripts/files/init-install-efi.sh| 51 +++---
2 files changed, 147 insertions(+), 16 deletions
For machines other than qemu it will not be okay to run
multiple testimage tasks in parallel.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/classes/testimage-auto.bbclass | 1 +
meta/classes/testimage.bbclass | 4
2 files changed, 5 insertions(+)
diff --git a/meta
This should make it clear what methods a subclass
needs to redefine.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/targetcontrol.py | 16
1 file changed, 16 insertions(+)
diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py
For the SimpleRemote target where we need the host ip and
it wasn't set in conf, we tried to determine it automatically.
However ip route output isn't the same for every network, we
need the last field from the first line.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib
TEST_SUITES = auto would run smart tests even for non-rpm images,
which is pointless.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/runtime/smart.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/lib/oeqa/runtime/smart.py b/meta/lib/oeqa/runtime/smart.py
Sometimes we may forget to actually build the image
we want to test (when testimage task is called manually).
Instead of an ugly traceback we should fail nicely.
The manifest is written after the rootfs so this ensures
the image was actually built.
Signed-off-by: Stefan Stanacar stefanx.stana
A previous commit broke downloads
when proxies are involved, let's fix it.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/runtime/buildcvs.py | 2 +-
meta/lib/oeqa/runtime/buildiptables.py | 2 +-
meta/lib/oeqa/runtime/buildsudoku.py | 2 +-
meta/lib/oeqa
Regardless if the tests passed or not the script returned 0,
which isn't what one would expect.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
scripts/oe-selftest | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/scripts/oe-selftest b/scripts/oe-selftest
]
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/classes/testimage.bbclass | 107 +++--
meta/lib/oeqa/oetest.py| 17 +++
2 files changed, 98 insertions(+), 26 deletions(-)
diff --git a/meta/classes/testimage.bbclass b/meta/classes
When running tests outside of the build system we can't use
bb.fetch anymore. It was nice but tests and their modules
need to rely on the data storage only as that gets exported.
This module is used by the oeqa/runtime/build* tests.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
/on/another/machine testdata.json
runexported.py accepts other arguments as well, see --help.
[YOCTO #5613]
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/runexported.py | 140 +++
1 file changed, 140 insertions(+)
create mode 100755
-contrib stefans/export
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=stefans/export
Stefan Stanacar (3):
testimage: add ability to export tests
lib/oeqa: add module for running tests outside of the build system
oeqa/utils: targetbuild: don't use bb.fetch anymore
meta/classes
anymore, qemu machines had
the default ram size bumped a while ago).
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/oetest.py| 4
meta/lib/oeqa/runtime/buildcvs.py | 2 --
meta/lib/oeqa/runtime/buildiptables.py | 2 --
meta/lib/oeqa/runtime
Without this it won't add core2-64 and similar channels, as the
directory name in deploy_dir/rpm uses _ not - as the package arch.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/runtime/smart.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta
, raises an exception when exit code != 0
(that's useful for code outside of tests, where you wouldn't want
to check the return code every time as the tests do)
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/utils/sshcontrol.py | 175
-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/runtime/rpm.py | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/meta/lib/oeqa/runtime/rpm.py b/meta/lib/oeqa/runtime/rpm.py
index 154cad5..084d22f 100644
--- a/meta/lib/oeqa/runtime/rpm.py
+++ b
[7f2af01f5000+6000]
Illegal instruction
If the tune for qemux86 changes, that needs to be updated too.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
scripts/runqemu-internal | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/scripts/runqemu-internal b/scripts
busybox 1.22 now returns exitcode 0 instead of 1 for
--help options, so this test needs to be updated when
busybox gets upgraded to 1.22.
https://bugs.busybox.net/show_bug.cgi?id=5612
http://git.busybox.net/busybox/commit/?id=efd0698f74caab0a0c8a51228b923ee142e8e278
Signed-off-by: Stefan
be there.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/utils/sshcontrol.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oeqa/utils/sshcontrol.py
b/meta/lib/oeqa/utils/sshcontrol.py
index a0dcf02..3e53ec3 100644
--- a/meta/lib/oeqa/utils
Allows a layer to define new classes in layer/lib/oeqa/utils/controllers.py
and completely control or extend deployment of a target. (core currently
has QemuTarget and SimpleRemoteTarget).
The value of TEST_TARGET must be the name of the new class.
Signed-off-by: Stefan Stanacar stefanx.stana
Makes it much easier to figure out where a syntax error is.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/classes/testimage.bbclass | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index
service)
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/runtime/systemd.py | 93 +++-
1 file changed, 45 insertions(+), 48 deletions(-)
diff --git a/meta/lib/oeqa/runtime/systemd.py b/meta/lib/oeqa/runtime/systemd.py
index 31007df
supposed to.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/selftest/base.py | 2 +-
scripts/oe-selftest| 12
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/selftest/base.py b/meta/lib/oeqa/selftest/base.py
index
While harmless, we should overwrite the config not append to it,
and use m4 as target, otherwise the WARN check will
build an entire image and we are not interested in that.
Also add an output check for the WARN_QA test.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa
From: Corneliu Stoicescu corneliux.stoice...@intel.com
Signed-off-by: Corneliu Stoicescu corneliux.stoice...@intel.com
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/selftest/prservice.py | 113
1 file changed, 113 insertions
(because of date), so we use the link which points to the
last
one built.
[ YOCTO #5072 ]
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/oetest.py | 14 --
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa
and running: oe-selftest to get some results. It would finish faster if at
least a core-image-minimal
was built before.
[ YOCTO #4740 ]
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/selftest/__init__.py | 2 +
meta/lib/oeqa/selftest/base.py | 98
From: Alexandru Palalau alexandrux.pala...@intel.com
Build images and tests different build options like RM_OLD_IMAGE
and for WARN_QA/ERROR_QA behaviour.
Signed-off-by: Alexandru Palalau alexandrux.pala...@intel.com
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa
From: Corneliu Stoicescu corneliux.stoice...@intel.com
Tests for bitbake-layers and expected output for some bitbake options.
Signed-off-by: Corneliu Stoicescu corneliux.stoice...@intel.com
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/selftest/bblayers.py | 37
/oeqa/selftest: add test modules for expected bitbake output and
bitbake-layers
Stefan Stanacar (1):
scripts/oe-selftest: script to run builds as unittest against bitbake
or various scripts
.gitignore | 1 +
meta-selftest/COPYING.MIT
is the file tests will actually use.
Signed-off-by: Corneliu Stoicescu corneliux.stoice...@intel.com
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
.gitignore | 1 +
meta-selftest/COPYING.MIT | 17 +
meta
-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/targetcontrol.py | 137 +
1 file changed, 137 insertions(+)
create mode 100644 meta/lib/oeqa/targetcontrol.py
diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py
=stefans/hwtest3
Stefan Stanacar (2):
lib/oeqa: targetcontrol.py: add abstraction for running tests on
different targets
testimage: use the new targetcontrol.py module for running tests
meta/classes/testimage-auto.bbclass | 3 +-
meta/classes/testimage.bbclass | 104
and unsed methods were dropped from sshcontrol.
[ YOCTO #5554 ]
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/classes/testimage-auto.bbclass | 3 +-
meta/classes/testimage.bbclass | 104 +---
meta/lib/oeqa/oetest.py | 20
methods were dropped from sshcontrol.
[ YOCTO #5554 ]
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/classes/testimage-auto.bbclass | 3 +-
meta/classes/testimage.bbclass | 104 +---
meta/lib/oeqa/oetest.py | 20 +++
meta
, it opens the door for running the tests on different types of
targets by adding new classes
(maybe qemu-nfsroot or remote-special etc.). One could also override BaseTarget
which currently uses
the existing SSHControl module and add a serial implementation.
[ YOCTO #5554 ]
Signed-off-by: Stefan
://git.yoctoproject.org/poky-contrib stefans/hwtest3
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=stefans/hwtest3
Stefan Stanacar (2):
lib/oeqa: targetcontrol.py: add abstraction for running tests on
different targets
testimage: use the new targetcontrol.py module for running tests
meta
From: Corneliu Stoicescu corneliux.stoice...@intel.com
Everything in this layer is meant to be used by tests.
Signed-off-by: Corneliu Stoicescu corneliux.stoice...@intel.com
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
.gitignore | 1
From: Corneliu Stoicescu corneliux.stoice...@intel.com
Tests for bitbake-layers and expected output for some bitbake options.
Signed-off-by: Corneliu Stoicescu corneliux.stoice...@intel.com
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
scripts/lib/selftest/tests/__init__.py | 1
-selftest: create a new test layer to be used by oe-selftest
script
scripts/lib/selftest: add a new module for bitbake output tests
Stefan Stanacar (1):
scripts/oe-selftest: script to run builds as unitests against bitbake
or various scripts
.gitignore
From: Alexandru Palalau alexandrux.pala...@intel.com
Tests for RM_OLD_IMAGE and for WARN_QA/ERROR_QA behaviour.
Signed-off-by: Alexandru Palalau alexandrux.pala...@intel.com
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
scripts/lib/selftest/tests/__init__.py | 1 +
scripts/lib
/include files for the
purpose of the tests.
It's a simple matter or sourcing the enviroment, adding the meta-selftest layer
and running: oe-selftest to get some results.
[ YOCTO #4740 ]
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
scripts/lib/selftest/__init__.py | 0
Instead of running the commands with a fixed timeout,
we should kill the command if there is no output
for timeout seconds.
Also changed some strings/comments.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/lib/oeqa/utils/sshcontrol.py | 41
Builds a simple Hello World module on target.
Added to the defaults for core-image-sato-sdk.
Signed-off-by: Stefan Stanacar stefanx.stana...@intel.com
---
meta/classes/testimage.bbclass| 2 +-
meta/lib/oeqa/runtime/files/hellomod.c| 19 +++
meta/lib/oeqa
Instead of considering that ping test passed after 1 reply,
wait for at least 5 consecutive replies in 60 seconds (which should
be enough time for connman to reconfigure the interface in systemd
images and help with the fake ssh/tests fails.)
Signed-off-by: Stefan Stanacar stefanx.stana
1 - 100 of 231 matches
Mail list logo