One nice feature would be the capability to archive old tests (either just compressing in-place via tar or moving to an archive storage location, or some combination of that). I imagine this to be a tool in harness/utilities called rgt_archive_tests.py or something similar, with usage similar to the following:
rgt_archive_tests.py [options]
--compress : when set, compresses each run as a gzip'd tar archive
--age : how old a test must be to archive it, e.g: "1d", "3w", "4m" for 1 day, 3 weeks, or 4 months.
--to : location to archive tests to. Options: "in-place" or a path to a directory (default: "in-place")
--no-delete : when set, copies to the archive but does not remove the test directories (default: delete test directories when moved)
--preserve-workdir : when set, does NOT delete the work/scratch directory (default: delete scratch directory)
--preserve-builddir: when set, does NOT delete the build directory (default: delete build directory)
An inverse utility to restore from archive would be excellent.
One nice feature would be the capability to archive old tests (either just compressing in-place via tar or moving to an archive storage location, or some combination of that). I imagine this to be a tool in
harness/utilities
calledrgt_archive_tests.py
or something similar, with usage similar to the following:An inverse utility to restore from archive would be excellent.