[PATCH] D46440: [lit, lldbsuite] Fixes for several tests LLDB tests for Python 3 or Windows

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 4 11:03:44 PDT 2018


zturner added inline comments.


================
Comment at: packages/Python/lldbsuite/test/python_api/hello_world/main.c:20
     while (1) 
         sleep (1); // Waiting to be attached...
 
----------------
On posix this is a number of seconds, but on Windows this is a number of milliseconds.  So perhaps your macro above should be `#define sleep(x) Sleep((x) * 1000)`.  Thoughts?


Repository:
  rL LLVM

https://reviews.llvm.org/D46440





More information about the llvm-commits mailing list