Bug 8582 - make test should be able to accept a previous list of run test to rerun just the failed ones
Summary: make test should be able to accept a previous list of run test to rerun just ...
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Test infrastructure (show other bugs)
Version: unspecified
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---
Assignee: Jelmer Vernooij
QA Contact: samba4-qa@samba.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-05 22:03 UTC by Matthieu Patou
Modified: 2012-05-15 08:01 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu Patou 2011-11-05 22:03:20 UTC
I would be very handy to have something like
make test TESTS=rerun_fails
That would just run the failed tests.
We can also think of another for defining which file should be read for the test report.
Comment 1 Jelmer Vernooij 2011-12-05 12:50:32 UTC
I've been working on this for quite some time now, by trying to get Samba to provide everything that is required by the "testr" tool that is part of the subunit ecosystem - see https://launchpad.net/testrepository
Comment 2 Jelmer Vernooij 2011-12-05 12:50:42 UTC
I've been working on this for quite some time now, by trying to get Samba to provide everything that is required by the "testr" tool that is part of the subunit ecosystem - see https://launchpad.net/testrepository
Comment 3 Jelmer Vernooij 2012-03-27 15:02:23 UTC
This is mostly implemented on a framework level. The remaining thing to do is to fix all testsuites to allow the running of individual tests.
Comment 4 Jelmer Vernooij 2012-05-15 08:00:27 UTC
This is now implemented at the framework level. You can use "selftest.pl --load-list=FILE" where FILE contains a list of test ids to run.
Comment 5 Jelmer Vernooij 2012-05-15 08:01:22 UTC
Note that this doesn't quite work yet in practice because some individual tests don't support the load list functionality.