[llvm-commits] [compiler-rt] r164483 - /compiler-rt/trunk/lib/tsan/lit_tests/sleep_sync.cc
Alexey Samsonov
samsonov at google.com
Mon Sep 24 01:57:42 PDT 2012
Author: samsonov
Date: Mon Sep 24 03:57:41 2012
New Revision: 164483
URL: http://llvm.org/viewvc/llvm-project?rev=164483&view=rev
Log:
[TSan] increase sleep time in test to ensure correct event ordering
Modified:
compiler-rt/trunk/lib/tsan/lit_tests/sleep_sync.cc
Modified: compiler-rt/trunk/lib/tsan/lit_tests/sleep_sync.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/lit_tests/sleep_sync.cc?rev=164483&r1=164482&r2=164483&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/lit_tests/sleep_sync.cc (original)
+++ compiler-rt/trunk/lib/tsan/lit_tests/sleep_sync.cc Mon Sep 24 03:57:41 2012
@@ -1,5 +1,4 @@
// FIXME: Understand why this test fails if TSan is re-execed.
-// RUN: ulimit -s 8192
// RUN: %clangxx_tsan -O1 %s -o %t && %t 2>&1 | FileCheck %s
#include <pthread.h>
#include <unistd.h>
@@ -12,7 +11,7 @@
}
void MySleep() {
- usleep(100*1000);
+ usleep(300*1000);
}
int main() {
More information about the llvm-commits
mailing list