================
@@ -8,7 +8,7 @@
 
 
 class PlatformProcessCrashInfoTestCase(TestBase):
-    @expectedFailureAll(oslist=["windows", "linux", "freebsd", "netbsd"])
+    @expectedFailureAll(oslist=["windows", "freebsd", "netbsd"])
----------------
mchoo7 wrote:

I forgot to build LLDB with python.... Fails on FreeBSD

```console
--
Command Output (stderr):
--
UNSUPPORTED: LLDB (/usr/src/llvm/build/bin/clang-x86_64) :: 
test_thread_local_dsym 
(TestThreadLocal.PlatformProcessCrashInfoTestCase.test_thread_local_dsym) (test 
case does not fall in any category of interest for this run)
FAIL: LLDB (/usr/src/llvm/build/bin/clang-x86_64) :: test_thread_local_dwarf 
(TestThreadLocal.PlatformProcessCrashInfoTestCase.test_thread_local_dwarf)
FAIL: LLDB (/usr/src/llvm/build/bin/clang-x86_64) :: test_thread_local_dwo 
(TestThreadLocal.PlatformProcessCrashInfoTestCase.test_thread_local_dwo)
======================================================================
FAIL: test_thread_local_dwarf 
(TestThreadLocal.PlatformProcessCrashInfoTestCase.test_thread_local_dwarf)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/llvm/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 
1844, in test_method
    return attrvalue(self)
           ^^^^^^^^^^^^^^^
  File "/usr/src/llvm/lldb/test/API/lang/cpp/thread_local/TestThreadLocal.py", 
line 22, in test_thread_local
    self.expect_expr("tl_local_int + 1", result_type="int", result_value="323")
  File "/usr/src/llvm/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 
2619, in expect_expr
    value_check.check_value(self, eval_result, str(eval_result))
  File "/usr/src/llvm/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 
306, in check_value
    test_base.assertSuccess(val.GetError())
  File "/usr/src/llvm/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 
2654, in assertSuccess
    self.fail(self._formatMessage(msg, "'{}' is not success".format(error)))
AssertionError: 'error: Couldn't materialize: couldn't get the value of 
variable tl_local_int: no TLS data currently exists for this thread
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression
' is not success
Config=x86_64-/usr/src/llvm/build/bin/clang
======================================================================
FAIL: test_thread_local_dwo 
(TestThreadLocal.PlatformProcessCrashInfoTestCase.test_thread_local_dwo)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/llvm/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 
1844, in test_method
    return attrvalue(self)
           ^^^^^^^^^^^^^^^
  File "/usr/src/llvm/lldb/test/API/lang/cpp/thread_local/TestThreadLocal.py", 
line 22, in test_thread_local
    self.expect_expr("tl_local_int + 1", result_type="int", result_value="323")
  File "/usr/src/llvm/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 
2619, in expect_expr
    value_check.check_value(self, eval_result, str(eval_result))
  File "/usr/src/llvm/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 
306, in check_value
    test_base.assertSuccess(val.GetError())
  File "/usr/src/llvm/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 
2654, in assertSuccess
    self.fail(self._formatMessage(msg, "'{}' is not success".format(error)))
AssertionError: 'error: Couldn't materialize: couldn't get the value of 
variable tl_local_int: no TLS data currently exists for this thread
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression
' is not success
...
Failed Tests (1):
  lldb-api :: lang/cpp/thread_local/TestThreadLocal.py
...
```

https://github.com/llvm/llvm-project/pull/178975
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to