diff options
author | Nico Weber <nicolasweber@gmx.de> | 2019-08-28 14:33:35 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2019-08-28 14:33:35 +0000 |
commit | 3c1996a489423cae240e38f6c2b178dd1c4c354b (patch) | |
tree | 215f0306db4810758f3fb9f66a712df4d0f5e26c /lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands | |
parent | 80f9a38a7653f0632b9688b9f8717f62fdedef6a (diff) | |
download | bcm5719-llvm-3c1996a489423cae240e38f6c2b178dd1c4c354b.tar.gz bcm5719-llvm-3c1996a489423cae240e38f6c2b178dd1c4c354b.zip |
lld: Make a test not fail if "repro" is part of the build directory name
r268231 made it so that the name of the --reproduce archive
is no longer listed in the response file. Previously, with
"--reproduce repro.tar" the response file would contain
repro/home/.../llvm-build-dir/.../foo.o
but after that change it contained
home/.../llvm-build-dir/.../foo.o
instead. The test added for this in r268231 checked that
the response file doesn't contain the string "repro", but
if the build dir is named e.g. "llvm-build-repro" then the
test fails because of that.
Change the assert to check that "repro" doesn't exist at the
beginning of the line instead. I verified that the test
still fails with r268231 reverted.
The test technically still fails if someone builds llvm in a directory
'/repro' below the root directory. Don't do that :)
llvm-svn: 370211
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands')
0 files changed, 0 insertions, 0 deletions