[all-commits] [llvm/llvm-project] 014c41: [LLDB] Attempt to fix DumpDataExtractorTest

Walter Erquinigo via All-commits all-commits at lists.llvm.org
Mon Sep 18 14:31:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 014c41d688f961cdb81cf92e6ba97100a49766a6
      https://github.com/llvm/llvm-project/commit/014c41d688f961cdb81cf92e6ba97100a49766a6
  Author: Walter Erquinigo <walter at modular.com>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    M lldb/unittests/Core/DumpDataExtractorTest.cpp

  Log Message:
  -----------
  [LLDB] Attempt to fix DumpDataExtractorTest

This test was broken by 710276a2505514634a7cc805461b1219dcef9337 because
DumpDataExtractor now accesses the Target properties, which someone ends
up relying on the file system.

This is an instance of this error https://lab.llvm.org/buildbot/#/builders/96/builds/45607/steps/6/logs/stdio

I cannot reproduce this locally, but it seems that the error happens
because we are not initializing the FileSystem and the Host as part of
the test setup.




More information about the All-commits mailing list