[all-commits] [llvm/llvm-project] df88d8: [libc++] Add missing FILE_DEPENDENCIES markup

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Apr 1 19:17:12 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: df88d80337d5e0ee0e50ca599d6436854951d8fa
      https://github.com/llvm/llvm-project/commit/df88d80337d5e0ee0e50ca599d6436854951d8fa
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-04-01 (Wed, 01 Apr 2020)

  Changed paths:
    M libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/pbackfail.pass.cpp

  Log Message:
  -----------
  [libc++] Add missing FILE_DEPENDENCIES markup


  Commit: ff09135fc2b7a9696f87a8a8e89be2ef777895d3
      https://github.com/llvm/llvm-project/commit/ff09135fc2b7a9696f87a8a8e89be2ef777895d3
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-04-01 (Wed, 01 Apr 2020)

  Changed paths:
    M libcxx/utils/libcxx/test/config.py
    M libcxx/utils/libcxx/test/executor.py
    M libcxx/utils/libcxx/test/format.py
    M libcxx/utils/run.py

  Log Message:
  -----------
  [libc++] Execute tests from the Lit execution root instead of the test tree

Instead of executing tests from within the libc++ test suite, we execute
them from the Lit execution directory. However, since some tests have
file dependencies, we must copy those dependencies to the execution
directory where they are executed.

This has the major benefit that if a test modifies a file (whether it
is wanted or not), other tests will not see those modifications. This
is good because current tests assume that input data is never modified,
however this could be an incorrect assumption if some test does not
behave properly.


Compare: https://github.com/llvm/llvm-project/compare/0071eaaf0892...ff09135fc2b7


More information about the All-commits mailing list