[Bug 49418] New: TestVSCode_module: test_compile_units fails due to extra units on FreeBSD

Bug ID 49418
Summary TestVSCode_module: test_compile_units fails due to extra units on FreeBSD
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity enhancement
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter mgorny@gentoo.org
CC jdevlieghere@apple.com, llvm-bugs@lists.llvm.org

It seems that it gets some system files on the list too on FreeBSD.  If I add a
print-debug, I get:

[{'compileUnitPath': '/usr/src/lib/csu/aarch64/crt1_c.c'}, {'compileUnitPath':
'/usr/src/lib/csu/aarch64/crt1_s.S'}, {'compileUnitPath':
'/usr/src/lib/csu/aarch64/crti.S'}, {'compileUnitPath':
'/usr/src/lib/csu/common/crtbegin.c'}, {'compileUnitPath':
'/home/mgorny/llvm-project/lldb/test/API/tools/lldb-vscode/module/main.cpp'},
{'compileUnitPath': '/usr/src/lib/csu/common/crtend.c'}, {'compileUnitPath':
'/usr/src/lib/csu/aarch64/crtn.S'}]

******************** TEST 'lldb-api ::
tools/lldb-vscode/module/TestVSCode_module.py' FAILED ********************
Script: