Dexter saves various files to a new results directory each time it is run (including when it's run by lit tests) and there isn't a way to opt-out. This patch reconfigures the behaviour to be opt-in by removing the default --results-directory location. Now results are only saved if --results-directory is specified.
Details
Diff Detail
Event Timeline
LGTM with query; More restructuring to avoid more indentation would be nice, but here we are ._.
cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/clang-opt-bisect/clang-opt-bisect-results.cpp | ||
---|---|---|
14 | Seeing rm -rf in any test makes me twitch; would we be able to explicitly delete each file in the results dir, then call rmdir? That at least allows for non-destructive-failures when %t points somewhere ever so slightly unexpected. |
+ addressed inline comment
cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/clang-opt-bisect/clang-opt-bisect-results.cpp | ||
---|---|---|
14 | Like this? |
LGTM with query; More restructuring to avoid more indentation would be nice, but here we are ._.
I agree, but I wanted to just stop the (disk-space) bleeding. It looks like some pickles are getting saved in there too (something else that should probably be looked into), so these results dirs get surprisingly large.
cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/clang-opt-bisect/clang-opt-bisect-results.cpp | ||
---|---|---|
14 | Yup; consider it damage limitation for when weird things happen. |
Seeing rm -rf in any test makes me twitch; would we be able to explicitly delete each file in the results dir, then call rmdir? That at least allows for non-destructive-failures when %t points somewhere ever so slightly unexpected.