[llvm-bugs] [Bug 49418] New: TestVSCode_module: test_compile_units fails due to extra units on FreeBSD
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Mar 3 12:54:09 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=49418
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 at lists.llvm.org
Reporter: mgorny at gentoo.org
CC: jdevlieghere at apple.com, llvm-bugs at 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:
--
/usr/local/bin/python3.7 /home/mgorny/llvm-project/lldb/test/API/dotest.py -u
CXXFLAGS -u CFLAGS --env ARCHIVER=/usr/bin/ar --env OBJCOPY=/usr/bin/objcopy
--env LLVM_LIBS_DIR=/home/mgorny/llvm-project/build.arm64/./lib --arch aarch64
--build-dir /home/mgorny/llvm-project/build.arm64/lldb-test-build.noindex
--lldb-module-cache-dir
/home/mgorny/llvm-project/build.arm64/lldb-test-build.noindex/module-cache-lldb/lldb-api
--clang-module-cache-dir
/home/mgorny/llvm-project/build.arm64/lldb-test-build.noindex/module-cache-clang/lldb-api
--executable /home/mgorny/llvm-project/build.arm64/./bin/lldb --compiler
/home/mgorny/llvm-project/build.arm64/./bin/clang --dsymutil
/home/mgorny/llvm-project/build.arm64/./bin/dsymutil --llvm-tools-dir
/home/mgorny/llvm-project/build.arm64/./bin --lldb-libs-dir
/home/mgorny/llvm-project/build.arm64/./lib
/home/mgorny/llvm-project/lldb/test/API/tools/lldb-vscode/module -p
TestVSCode_module.py
--
Exit Code: 1
Command Output (stdout):
--
lldb version 13.0.0
Libc++ tests will not be run because: Don't know how to build with libc++ on
freebsd
libstdcxx tests will not be run because: Don't know how to build with libstdcxx
on freebsd
Skipping following debug info categories: ['dwo', 'dsym', 'gmodules']
objc tests will be skipped because of unsupported platform
description: breakpoint 1.1
description: breakpoint 1.1
--
Command Output (stderr):
--
FAIL: LLDB (/home/mgorny/llvm-project/build.arm64/bin/clang-aarch64) ::
test_compile_units (TestVSCode_module.TestVSCode_module)
PASS: LLDB (/home/mgorny/llvm-project/build.arm64/bin/clang-aarch64) ::
test_modules (TestVSCode_module.TestVSCode_module)
UNSUPPORTED: LLDB (/home/mgorny/llvm-project/build.arm64/bin/clang-aarch64) ::
test_modules_dsym (TestVSCode_module.TestVSCode_module) (requires one of
macosx, darwin, ios, tvos, watchos, bridgeos, iphonesimulator, watchsimulator,
appletvsimulator)
======================================================================
FAIL: test_compile_units (TestVSCode_module.TestVSCode_module)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/mgorny/llvm-project/lldb/test/API/tools/lldb-vscode/module/TestVSCode_module.py",
line 94, in test_compile_units
'Only one source file should exist')
AssertionError: 7 != 1 : Only one source file should exist
Config=aarch64-/home/mgorny/llvm-project/build.arm64/bin/clang
----------------------------------------------------------------------
Ran 3 tests in 71.177s
RESULT: FAILED (1 passes, 1 failures, 0 errors, 1 skipped, 0 expected failures,
0 unexpected successes)
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210303/866b5300/attachment.html>
More information about the llvm-bugs
mailing list