Skip to content

[lldb-dap] TestDAP_stackTraceDisassemblyDisplay.py shouldn't modify/create a file in the source directory #163288

@JDevlieghere

Description

@JDevlieghere

If you do a git status while running the dap tests, you often see an untracked file in the llvm repository.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        test/API/tools/lldb-dap/stackTraceDisassemblyDisplay/other.c

This is because the test is creating other.c in the current working directory. The test relies on the file being present for part of it and then not being there. Changing the source directory from the test is not acceptable, and we should be building the inferior in the test directory instead.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions