<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/163288>163288</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[lldb-dap] TestDAP_stackTraceDisassemblyDisplay.py shouldn't modify/create a file in the source directory
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
JDevlieghere
</td>
</tr>
</table>
<pre>
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.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx8U02P6zYM_DXyhVhDlhN_HHxINw3wenqH9FzIEm2rK0uGRCXIvy_kl3Sxe3iAgADxzJAcDmWMZnaIAzv-wY7nQiZafBj-OuPNGpwXDFiMXj-GHxM8fALtQQJr-GwIIklKkTUc7ouxCCE5Z9wMtCBouQFhpMjE-070E6GDiAjSQXIUpPpADVMmGrdzrL2tEHDz0ZAPjxIYP-XX8Ofjp7-_ECOrMwCAiS5FBCZE7ktqDax-zwhW_1mWJRMCyINxyia9l7svkuBurIURQfl1NUSomeizXO6bicvp5w8mLuS9jUxcrNXjm5YbE5dIUn1cg1R4NlHGiOtoH2cTNysfTFw8LRhK9a1zxk_XxUQwEUZUMrebZ8618n8qoKRsHmv4S6DhL2dUCgEdwd2HjwzSJqD65dH1JRLQGozgfzF2X0fM4C1gzOTJB9hkIPATZJeczkgHztMTmetiCe-LdPNrkdGnoPCzIkzBr19az3ypFG4kR4t531n6jhAXn6zODo_JWP1SNG7CYHx4DbfrfOobFwmlLgs91Lqve1ngULUNr_u27epiGfq-aXjV9_1BVcfDQXVVWzVd0yp-aDnqujCD4OJY8aoWtah5XXYtb_U4Voeu43XTanbguEpjy5y40oe5MDEmHKqmFl1XWDmijftFCOHwDvtXJkQ-kDBk0tuY5sgO3JpI8VOGDNn9lP5Py_EMV4x0Pv3853exKbfH0y7HREuwem2mHKY9Fwjyy6F830mRgh0Wom0_CHFh4jIbWtJYKr_u2b29ft624P9FlfO9T5Wj_Rz7Noj_AgAA__85MFuD">