]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTESTS: list all skipped tests including 'feature cmd' ones 20251217-skipped-tests
authorWilliam Lallemand <wlallemand@irq6.net>
Tue, 9 Dec 2025 16:18:42 +0000 (17:18 +0100)
committerWilliam Lallemand <wlallemand@irq6.net>
Wed, 17 Dec 2025 14:54:15 +0000 (15:54 +0100)
commit1ed2c9da2c8ce5d18f5136d63561a71e2ba4afd0
tree16dfe593bda9874a673ca52019982009d004de0c
parent8523a5cde057292613be22966dbefeab4cfd8993
REGTESTS: list all skipped tests including 'feature cmd' ones

The script for running regression tests is modified to improve the
visibility of skipped tests.

Previously, the reasons for skipping tests were only visible during the
test discovery phase when grepping the vtc (REQUIRE, EXCLUDE, etc).
But reg-tests skipped by vtest with the 'feature cmd' keywords were not
listed.

This change introduces the following:
  - vtest does not remove the logs itself anymore, because it is not
    able to let the log available when a test is skipped. So the -L
    parameter is now always passed to vtest
  - All skipped tests during the discovery phase are now logged to a
    'skipped.log' file within the test directory
  - The script now parses vtest logs to find tests that were skipped
    due to missing features (via the 'feature cmd' in .vtc files)
    and adds them to the skipped list.
scripts/run-regtests.sh