Skip to content

Polyglot tests should clear out run directory occasionally #674

Closed

Description

@mlucy

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.

Activity

  1. ghost assigned on Apr 17, 2013
  2. AtnNn commented on Apr 30, 2013

    @AtnNn
    Member

    make clean in test/rql_test/ now removes run/

  3. coffeemug commented on May 1, 2013

    @coffeemug
    Contributor

    Should we close this issue?

  4. mlucy commented on May 1, 2013

    @mlucy
    MemberAuthor
    • 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.
  5. coffeemug commented on May 6, 2013

    @coffeemug
    Contributor

    Moving to 1.6, as this isn't essential to shipping 1.5.

  6. modified the milestones: tests, backlog on Apr 25, 2014
  7. assigned and unassigned on Jul 11, 2014
  8. larkost commented on Dec 16, 2014

    @larkost
    Collaborator

    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.

  9. danielmewes commented on Dec 16, 2014

    @danielmewes
    Member

    @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.

  10. larkost commented on Jul 6, 2015

    @larkost
    Collaborator

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions