diff options
author | Ross Burton <ross@burtonini.com> | 2021-03-03 21:33:41 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-28 22:31:55 +0100 |
commit | f484b4e1839b1cda65c22e50e844449cf5085f8b (patch) | |
tree | 8f13e01b0a4d4c996e5a05b4d31271ecd3aa102a | |
parent | a93d0c1f6d0bc3f19bd16154418459f977c442b1 (diff) | |
download | poky-f484b4e1839b1cda65c22e50e844449cf5085f8b.tar.gz |
libinput: less parallism to increase chances the test suite works
Discussion with the libinput maintainer has confirmed that many of the
libinput test cases need to run on a relatively unloaded system,
because input handling is by definition time-sensitive and any
event mismatches are considered a failure to avoid broken code hiding.
We can't expect libinput to run on an otherside unloaded machine
because the autobuilder ptests execute in a qemu at the same time
as builds can be happening. We can however reduce the amount of
parallellism happening in the libinput test suite to give it a better
chance of succeeding.
This may not be enough, but it's worth a go.
[ YOCTO #14164 ]
(From OE-Core rev: bd33e62fba70e8461d0efbee04841db9a0c1ff9d)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5702f7c489ed45b7f4a69c78aa8215e2c98e21c4)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-graphics/wayland/libinput/run-ptest | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/wayland/libinput/run-ptest b/meta/recipes-graphics/wayland/libinput/run-ptest index 5a84c568b9..d11e6eb25b 100644 --- a/meta/recipes-graphics/wayland/libinput/run-ptest +++ b/meta/recipes-graphics/wayland/libinput/run-ptest | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | /usr/libexec/libinput/libinput-test-suite | 3 | /usr/libexec/libinput/libinput-test-suite -j1 |
4 | if [ $? -eq 0 ]; then | 4 | if [ $? -eq 0 ]; then |
5 | echo 'PASS: libinput-test-suite' | 5 | echo 'PASS: libinput-test-suite' |
6 | else | 6 | else |