The xfstestsdb gc
command will remove runs that have no associated testcases, and runs that are older than 180 days that do not have an associated tag. Note that this means tagged runs that have no added testcases will also be removed.
The --dry-run
option can be used to print items that would be removed, without actually removing them.
Invocation
$ xfstestsdb gc [--dry-run]
Options
Options |
Description |
--dry-run |
Print the entries that would be removed, but do not remove them |
Exit
Exit Code |
Description |
0 |
The database has been successfully cleaned up |
Examples
$ xfstestsdb xunit gc
run #1 has been deleted
run #3 has been deleted
$ xfstestsdb xunit gc --dry-run
run #1 would be deleted
run #3 would be deleted