[llvm-bugs] [Bug 49415] New: TestLinuxCore: two aarch64 reg test cases fail on FreeBSD/aarch64
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Mar 3 10:54:25 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=49415
Bug ID: 49415
Summary: TestLinuxCore: two aarch64 reg test cases fail on
FreeBSD/aarch64
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
FAIL: LLDB (/home/mgorny/llvm-project/build.arm64/bin/clang-aarch64) ::
test_aarch64_regs (TestLinuxCore.LinuxCoreTestCase)
FAIL: LLDB (/home/mgorny/llvm-project/build.arm64/bin/clang-aarch64) ::
test_aarch64_sve_regs_fpsimd (TestLinuxCore.LinuxCoreTestCase)
The results look a bit suspicious -- like a rounding/printing problem. I
wonder if it could be affected by some subtle stdlib difference.
======================================================================
FAIL: test_aarch64_regs (TestLinuxCore.LinuxCoreTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/mgorny/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py",
line 149, in wrapper
return func(*args, **kwargs)
File
"/home/mgorny/llvm-project/lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py",
line 348, in test_aarch64_regs
substrs=["{} = {}".format(regname, value)])
File
"/home/mgorny/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 2566, in expect
self.fail(log_msg)
AssertionError: Ran command:
"register read d4"
Got output:
d4 = 0
Expecting sub string: "d4 = 5.35161536149201e-315" (was not found)
Config=aarch64-/home/mgorny/llvm-project/build.arm64/bin/clang
======================================================================
FAIL: test_aarch64_sve_regs_fpsimd (TestLinuxCore.LinuxCoreTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/mgorny/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py",
line 149, in wrapper
return func(*args, **kwargs)
File
"/home/mgorny/llvm-project/lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py",
line 435, in test_aarch64_sve_regs_fpsimd
substrs=["{} = {}".format(regname, value)])
File
"/home/mgorny/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py",
line 2566, in expect
self.fail(log_msg)
AssertionError: Ran command:
"register read d4"
Got output:
d4 = 0
Expecting sub string: "d4 = 5.35161536149201e-315" (was not found)
Config=aarch64-/home/mgorny/llvm-project/build.arm64/bin/clang
----------------------------------------------------------------------
Ran 18 tests in 37.985s
RESULT: FAILED (16 passes, 2 failures, 0 errors, 0 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/a0a71306/attachment.html>
More information about the llvm-bugs
mailing list