diff options
author | Moritz Haase <Moritz.Haase@bmw.de> | 2025-06-20 09:02:16 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-06-25 08:11:58 -0700 |
commit | 9bc0069f8b3968250c4245c8a81b65fdacabfba5 (patch) | |
tree | b083f3f62ece576a01eea7a99c915f6f71c44372 /documentation/sdk-manual | |
parent | 104f728b6504c558ffbc5fa102c1cd8862a75b46 (diff) | |
download | poky-kirkstone.tar.gz |
cmake: Correctly handle cost data of tests with arbitrary chars in namekirkstone
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 is a backport of f24178f3 (which itself backports the upstream fix).
the patch was adapted slightly to apply cleanly to the older CMake version in
kirkstone. 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: f6a160f7ea57af6dfeca003e6c05aa42419fb755)
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>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/sdk-manual')
0 files changed, 0 insertions, 0 deletions