summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/release-process.rst
diff options
context:
space:
mode:
authorMoritz Haase <Moritz.Haase@bmw.de>2025-06-20 08:37:41 +0200
committerSteve Sakoman <steve@sakoman.com>2025-06-25 08:35:10 -0700
commitb8f8125f05e8ece078ba6bf01eebb2900cf2f9bf (patch)
tree9810d4e11ada4205a0818dc14998061b01c3b6e7 /documentation/ref-manual/release-process.rst
parent31bf71ccc59ac91b00c7115182322a3c75b4d55e (diff)
downloadpoky-scarthgap.tar.gz
cmake: Correctly handle cost data of tests with arbitrary chars in namescarthgap
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 scarthgap. 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: cfa97a50e06fb0fcc7cbc0ada54ce7ad5ba29ebe) 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/ref-manual/release-process.rst')
0 files changed, 0 insertions, 0 deletions