[llvm-commits] [compiler-rt] r156614 - in /compiler-rt/trunk/lib/tsan: Makefile.old unit_tests/tsan_platform_test.cc
Kostya Serebryany
kcc at google.com
Fri May 11 06:49:53 PDT 2012
Author: kcc
Date: Fri May 11 08:49:53 2012
New Revision: 156614
URL: http://llvm.org/viewvc/llvm-project?rev=156614&view=rev
Log:
[tsan] a bit more lint
Modified:
compiler-rt/trunk/lib/tsan/Makefile.old
compiler-rt/trunk/lib/tsan/unit_tests/tsan_platform_test.cc
Modified: compiler-rt/trunk/lib/tsan/Makefile.old
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/Makefile.old?rev=156614&r1=156613&r2=156614&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/Makefile.old (original)
+++ compiler-rt/trunk/lib/tsan/Makefile.old Fri May 11 08:49:53 2012
@@ -70,7 +70,7 @@
lint_tsan:
third_party/cpplint/cpplint.py --filter=$(RTL_LINT_FITLER) rtl/*.{cc,h}
lint_tests:
- third_party/cpplint/cpplint.py --filter=$(RTL_LINT_FITLER) rtl_tests/*.{cc,h}
+ third_party/cpplint/cpplint.py --filter=$(RTL_LINT_FITLER) rtl_tests/*.{cc,h} unit_tests/*.cc
install_deps:
rm -rf third_party
Modified: compiler-rt/trunk/lib/tsan/unit_tests/tsan_platform_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/unit_tests/tsan_platform_test.cc?rev=156614&r1=156613&r2=156614&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/unit_tests/tsan_platform_test.cc (original)
+++ compiler-rt/trunk/lib/tsan/unit_tests/tsan_platform_test.cc Fri May 11 08:49:53 2012
@@ -66,7 +66,7 @@
EXPECT_EQ(len1, internal_write(fd, str1, len1));
EXPECT_EQ(len2, internal_write(fd, str2, len2));
internal_close(fd);
-
+
fd = internal_open("./tsan_test.tmp", false);
EXPECT_NE(fd, kInvalidFd);
EXPECT_EQ(len1 + len2, internal_filesize(fd));
More information about the llvm-commits
mailing list