summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/lit_tests/java_alloc.cc
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2012-12-24 14:02:34 +0000
committerDmitry Vyukov <dvyukov@google.com>2012-12-24 14:02:34 +0000
commit19969e504581c79a59a38eed35ee48151a6572ac (patch)
treea8cb589424ba816ea8efd03365eff88e99a47477 /compiler-rt/lib/tsan/lit_tests/java_alloc.cc
parentf6d80215202c858440a6bc69937a08bb37d6ff28 (diff)
downloadbcm5719-llvm-19969e504581c79a59a38eed35ee48151a6572ac.tar.gz
bcm5719-llvm-19969e504581c79a59a38eed35ee48151a6572ac.zip
tsan: work around FileCheck feature that it does not accept empty input
llvm-svn: 171034
Diffstat (limited to 'compiler-rt/lib/tsan/lit_tests/java_alloc.cc')
-rw-r--r--compiler-rt/lib/tsan/lit_tests/java_alloc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/tsan/lit_tests/java_alloc.cc b/compiler-rt/lib/tsan/lit_tests/java_alloc.cc
index e3210fe33de..4dbce70c31e 100644
--- a/compiler-rt/lib/tsan/lit_tests/java_alloc.cc
+++ b/compiler-rt/lib/tsan/lit_tests/java_alloc.cc
@@ -25,6 +25,7 @@ int main() {
pthread_create(&th, 0, Thread, (void*)(jheap + kHeapSize / 4));
stress(jheap);
pthread_join(th, 0);
+ printf("OK\n");
return __tsan_java_fini();
}
OpenPOWER on IntegriCloud