You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Polyglot tests should clear out run directory occasionally #674
It would also be nice if they could say when they're running what server so that I know which subdirectory to look in for backtraces when the server crashes.
I personally would still like it if make in the rql_test directory cleared out the run directory before putting new files in it. I don't feel too strongly about this though.
I would really like to know what directory in run I need to look in for backtraces and stuff. If the test driver could print out the name of the directory as it spins up the server that would basically fix the problem.
There has been a little conversation in #3441, some if which implies that people only really want to see the latest results. I think that that might work for all cases if paired with a way of manually specifying a results directory to allow multiple data sets. In most of the cases I can come up with this is probably better behavior:
working on a test or problem and constantly running a test to check on progress (or pull out output)
doing full runs to validate (e.g.: you only want pass/fail)
And other common use cases are easily done:
automated testing should be targeting a specific folder
"before" and "after" is easy to do by specifying those folders
multiple simultaneous runs (e.g. running on different settings simultaneously from the same folder)
And for features of test/run like -F/--only-failed this would actually make it easier to implement.
My only worry about auto-cleaning is a nebulous one about deleting files from a folder that is not really an old results directory.
@larkost That sounds good to me. If we store the results into something like ./testresults I think the risk that this is a non-test result directory is pretty small.
This is now moot with #4018 which by default tosses the results folder, or overwrites the specific tests in the one you provide. This gives the latests test results if you want.
Activity
AtnNn commentedon Apr 30, 2013
make cleanintest/rql_test/now removesrun/coffeemug commentedon May 1, 2013
Should we close this issue?
mlucy commentedon May 1, 2013
makein the rql_test directory cleared out the run directory before putting new files in it. I don't feel too strongly about this though.runI need to look in for backtraces and stuff. If the test driver could print out the name of the directory as it spins up the server that would basically fix the problem.coffeemug commentedon May 6, 2013
Moving to 1.6, as this isn't essential to shipping 1.5.
larkost commentedon Dec 16, 2014
There has been a little conversation in #3441, some if which implies that people only really want to see the latest results. I think that that might work for all cases if paired with a way of manually specifying a results directory to allow multiple data sets. In most of the cases I can come up with this is probably better behavior:
And other common use cases are easily done:
And for features of
test/runlike-F/--only-failedthis would actually make it easier to implement.My only worry about auto-cleaning is a nebulous one about deleting files from a folder that is not really an old results directory.
danielmewes commentedon Dec 16, 2014
@larkost That sounds good to me. If we store the results into something like
./testresultsI think the risk that this is a non-test result directory is pretty small.larkost commentedon Jul 6, 2015
This is now moot with #4018 which by default tosses the results folder, or overwrites the specific tests in the one you provide. This gives the latests test results if you want.