diff options
author | Moritz Haase <Moritz.Haase@bmw.de> | 2025-06-17 11:24:56 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-19 21:54:43 +0100 |
commit | f6fb4c7273f767145109d3b065e6a9f55a397b8a (patch) | |
tree | 5ece8dbe780d15d5dd5ed5fe019d8e6d26d08df1 /meta/recipes-devtools/python/python-scons/SConscript-Support-python2-print-statements.patch | |
parent | a2dad2ce9a9a673991e75185e76b675bfe21905c (diff) | |
download | poky-f6fb4c7273f767145109d3b065e6a9f55a397b8a.tar.gz |
cmake: Correctly handle cost data of tests with arbitrary chars in name
ctest automatically optimizes the order of (parallel) test execution based on
historic test case runtime via the COST property (see [0]), which can have a
significant impact on overall test run times. Sadly this feature is broken in
CMake < 4.0.0 for test cases that have spaces in their name (see [1]).
This commit backports the upstream fix. As repeated test runs are expected to
mainly take place inside the SDK, the patch is only applied to 'nativesdk'
builds.
[0]: https://cmake.org/cmake/help/latest/prop_test/COST.html
[1]: https://gitlab.kitware.com/cmake/cmake/-/issues/26594
Reported-By: John Drouhard <john@drouhard.dev>
(From OE-Core rev: dcbaf42dd74cc0bda7254856589613718ed3f057)
Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-scons/SConscript-Support-python2-print-statements.patch')
0 files changed, 0 insertions, 0 deletions