History

fate: Add a target for listing failed tests

If running tests with "make -j<N> fate", the execution will stop after the first failing test. To get an overview of the whole test suite, one rather would run "make -k -j<N> fate", which then again buries the results about what tests actually failed further up in the console log. Add a target so one can run "make fate-list-failing", to see a list of all tests that failed the last time they were executed. Also add a companion target "fate-clear-reports" which removes all the old test reports. (When executing a subset of tests, the report files of all tests that aren't executed stay untouched. This also allows getting rid of reports for tests that no longer are present in the testsuite.) Co-authored-by: Alexander Strasser <eclipse7@gmx.net>

Martin Storsjö committed 2 years ago

Commit 1e76bd21 parent 4b524643 files · +20 −0Browse files

Showing the changes to doc (2 of 3 files). Show all

Unified · Split

2 files
  1. doc/build_system.txt +7 −0
  2. doc/fate.texi +7 −0
doc/build_system.txt+7−0
@@ -30,6 +30,13 @@ fate · 29 unmodified lines
30fate-list30fate-list
31 List all fate/regression test targets.31 List all fate/regression test targets.
32 32
33fate-list-failing
34 List the fate tests that failed the last time they were executed.
35
36fate-clear-reports
37 Remove the test reports from previous test executions (getting rid of
38 potentially stale results from fate-list-failing).
39
33install40install
34 Install headers, libraries and programs.41 Install headers, libraries and programs.
35 42
doc/fate.texi+7−0
@@ -208,6 +208,13 @@ Download/synchronize sample files to the configured samples directory. · 207 unmodified lines
208@item fate-list208@item fate-list
209Will list all fate/regression test targets.209Will list all fate/regression test targets.
210 210
211@item fate-list-failing
212List the fate tests that failed the last time they were executed.
213
214@item fate-clear-reports
215Remove the test reports from previous test executions (getting rid of
216potentially stale results from fate-list-failing).
217
211@item fate218@item fate
212Run the FATE test suite (requires the fate-suite dataset).219Run the FATE test suite (requires the fate-suite dataset).
213@end table220@end table

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t