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@lists.llvm.org
          Reporter: mgo...@gentoo.org
                CC: jdevliegh...@apple.com, llvm-b...@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 the assignee for the bug.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to