[all-commits] [llvm/llvm-project] 13062d: [lldb/Test] Skip more tests that are not expected ...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu May 7 15:17:12 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 13062d0fb76913802f94314090b1a2b36bd480d9
      https://github.com/llvm/llvm-project/commit/13062d0fb76913802f94314090b1a2b36bd480d9
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-05-07 (Thu, 07 May 2020)

  Changed paths:
    M lldb/test/API/commands/process/launch/TestProcessLaunch.py
    M lldb/test/API/commands/target/basic/TestTargetCommand.py
    M lldb/test/API/python_api/process/io/TestProcessIO.py

  Log Message:
  -----------
  [lldb/Test] Skip more tests that are not expected to work with passive replay

This skips some tests that pass with active replay (which doesn't check
the output) but fail with passive replay. Valid reasons for this
include:

 - Checking the output of the process (which doesn't run during replay),
 - Checking files that cannot be captured in the VFS (non-existing or
   unreadable files or files that are removed during test),

Unfortunately there's no good way to mark a test as supported for active
replay but unsupported for passive replay because the number and order
of API calls needs to be identical during capture and replay. I don't
think this is a huge loss however.




More information about the All-commits mailing list