Francois Gouget : testbot/PatchUtils: Rework GetPatchImpacts() to fix patchset handling.
Module: tools Branch: master Commit: bcf62d46c35d3583617cc51797f070aaf915cb2c URL: https://source.winehq.org/git/tools.git/?a=commit;h=bcf62d46c35d3583617cc517... Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Fri Apr 2 03:27:11 2021 +0200 testbot/PatchUtils: Rework GetPatchImpacts() to fix patchset handling. Rename the Tests set to Modules since it contains information about each module impacted by the patch, including a full list of the still existing and patched test units. Better separate the build impacts from the test impacts: the former impact the build of all following parts, while only the last part impacts the tests that need to be run. This stops the TestBot from running test units which were not impacted by the _last part_ of the patchset. Document the returned $Impacts structure. Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- testbot/bin/WineRunBuild.pl | 6 +- testbot/bin/build/WineTest.pl | 30 +-- testbot/lib/WineTestBot/PatchUtils.pm | 370 ++++++++++++++++++++-------------- testbot/lib/WineTestBot/Patches.pm | 15 +- testbot/web/Submit.pl | 36 ++-- 5 files changed, 266 insertions(+), 191 deletions(-) Diff: https://source.winehq.org/git/tools.git/?a=commitdiff;h=bcf62d46c35d3583617c...
participants (1)
-
Alexandre Julliard