diff options
author | Marek Vasut <marex@denx.de> | 2021-11-06 13:59:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-15 11:53:55 +0000 |
commit | 53226d9c8713f0231c24a7e70a89d2f4e20749f1 (patch) | |
tree | 0013b8926f5ae25868a84c1962285d2551258490 /meta/recipes-graphics/piglit/piglit/0001-framework-profile.py-make-test-lists-reproducible.patch | |
parent | fca4b3b106913cbfb469de29cc3501f31204b64e (diff) | |
download | poky-53226d9c8713f0231c24a7e70a89d2f4e20749f1.tar.gz |
piglit: upgrade to latest revision
Update piglit to latest git revision and update the branch name,
since the original one is no longer updated. Make sure the VK
tests are only enabled if VK is also enabled in PACKAGECONFIG,
and that this is opt-in, otherwise older systems fail to build.
Cherry picked from squashed commits:
eb3a8d4c7b ("piglit: upgrade to latest revision")
a27b06f73a ("piglit: upgrade to latest revision")
bb091bc0be ("piglit: upgrade to latest revision")
394746d1cb ("piglit: upgrade to latest revision")
5aec8cff94 ("piglit: upgrade to latest revision")
fc4c82773d ("piglit: fix reproducibility")
6fbec0f12a ("piglit: update to latest revision")
8d23a0d498 ("piglit: upgrade to latest revision")
5144d515fe ("piglit: upgrade to latest revision")
dd085bd577 ("piglit: upgrade to latest revision")
9ba6df1b2c ("piglit: upgrade to latest revision")
1ccd71eb3e ("piglit: upgrade to latest revision")
(From OE-Core rev: 65aa83e25059b29563a45eacdad8178bc7a07fe4)
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Anuj Mittal <anuj.mittal@intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/piglit/piglit/0001-framework-profile.py-make-test-lists-reproducible.patch')
-rw-r--r-- | meta/recipes-graphics/piglit/piglit/0001-framework-profile.py-make-test-lists-reproducible.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-graphics/piglit/piglit/0001-framework-profile.py-make-test-lists-reproducible.patch b/meta/recipes-graphics/piglit/piglit/0001-framework-profile.py-make-test-lists-reproducible.patch new file mode 100644 index 0000000000..cc9482c047 --- /dev/null +++ b/meta/recipes-graphics/piglit/piglit/0001-framework-profile.py-make-test-lists-reproducible.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 9086d42df1f3134bafcfe33ff16db7bbb9d9a0fd Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Mon, 30 Nov 2020 23:08:22 +0000 | ||
4 | Subject: [PATCH] framework/profile.py: make test lists reproducible | ||
5 | |||
6 | These are created with os.walk, which yields different | ||
7 | order depending on where it's run. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
11 | --- | ||
12 | framework/profile.py | 6 +++++- | ||
13 | 1 file changed, 5 insertions(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/framework/profile.py b/framework/profile.py | ||
16 | index c210e535e..9b5d51d68 100644 | ||
17 | --- a/framework/profile.py | ||
18 | +++ b/framework/profile.py | ||
19 | @@ -528,7 +528,11 @@ class TestProfile(object): | ||
20 | else: | ||
21 | opts[n] = self.test_list[n] | ||
22 | else: | ||
23 | - opts = self.test_list # pylint: disable=redefined-variable-type | ||
24 | + opts = collections.OrderedDict() | ||
25 | + test_keys = list(self.test_list.keys()) | ||
26 | + test_keys.sort() | ||
27 | + for k in test_keys: | ||
28 | + opts[k] = self.test_list[k] | ||
29 | |||
30 | for k, v in self.filters.run(opts.items()): | ||
31 | yield k, v | ||