[all-commits] [llvm/llvm-project] 91a0e8: [lldb] Make IR interpreter timeout test more loose

David Spickett via All-commits all-commits at lists.llvm.org
Mon Aug 7 02:43:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91a0e832d42abc2890d4f8871a14003de6a9919e
      https://github.com/llvm/llvm-project/commit/91a0e832d42abc2890d4f8871a14003de6a9919e
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2023-08-07 (Mon, 07 Aug 2023)

  Changed paths:
    M lldb/test/API/commands/expression/ir-interpreter/TestIRInterpreter.py

  Log Message:
  -----------
  [lldb] Make IR interpreter timeout test more loose

This has failed once in a while on our Windows on Arm bot:
https://lab.llvm.org/buildbot/#/builders/219/builds/4688

Traceback (most recent call last):
  File "C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\...
    self.assertGreaterEqual(duration_sec, 1)
AssertionError: 0.9907491207122803 not greater than or equal to 1

We're not here to check that Python/the C++ lib/the OS implemented
timers correctly, so accept anything 0.95 or greater.




More information about the All-commits mailing list