================
@@ -12,10 +12,13 @@ int main(int argc, char const *argv[]) {
// Waiting to be attached by the debugger.
temp = 0;
+ if (argc > 1 && argv[1][0] == 'q')
+ return 0;
+
while (temp < 30) {
- std::this_thread::sleep_for(std::chrono::seconds(2)); // Waiting to be
attached...
- temp++;
- }
+ std::this_thread::sleep_for(std::chrono::seconds(2)); // Waiting to be
attached...
+ temp++;
+ }
----------------
bulbazord wrote:
I know you did not create this test in this PR but I wonder if there's a way we
can handle this another way? Waiting on timers can be tricky from a testing
perspective.
https://github.com/llvm/llvm-project/pull/65822
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits