1. Jul 01, 2017
    • Zachary Turner's avatar
      [lit] Clean output directories before running tests. · 0955739b
      Zachary Turner authored
      Presently lit leaks files in the tests' output directories.
      Specifically, if a test creates output files, lit makes no
      effort to remove them prior to the next test run.  This is
      problematic because it leads to false positives whenever a
      test passes because stale  files were present.  In general
      it is a source of flakiness that should be removed.
      
      This patch addresses this by building the list of all test
      directories that are part of the current run set, and then
      deleting those directories and recreating them anew.  This
      gives each test a clean baseline to start from.
      
      Differential Revision: https://reviews.llvm.org/D34732
      
      llvm-svn: 306832
      0955739b
  2. Jun 30, 2017