[compiler-rt] c65e607 - tsan: add newline in test file
Dmitry Vyukov via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 11 02:14:46 PDT 2020
Author: Dmitry Vyukov
Date: 2020-04-11T11:13:39+02:00
New Revision: c65e6079fc9bad2e9c6484e176632c11cb7d0154
URL: https://github.com/llvm/llvm-project/commit/c65e6079fc9bad2e9c6484e176632c11cb7d0154
DIFF: https://github.com/llvm/llvm-project/commit/c65e6079fc9bad2e9c6484e176632c11cb7d0154.diff
LOG: tsan: add newline in test file
Buildbots say:
[126/127] Running lint check for sanitizer sources...
FAILED: projects/compiler-rt/lib/CMakeFiles/SanitizerLintCheck
cd /home/buildbots/ppc64be-clang-multistage-test/clang-ppc64be-multistage/stage1/projects/compiler-rt/lib && env LLVM_CHECKOUT=/home/buildbots/ppc64be-clang-multistage-test/clang-ppc64be-multistage/llvm/llvm SILENT=1 TMPDIR= PYTHON_EXECUTABLE=/usr/bin/python COMPILER_RT=/home/buildbots/ppc64be-clang-multistage-test/clang-ppc64be-multistage/llvm/compiler-rt /home/buildbots/ppc64be-clang-multistage-test/clang-ppc64be-multistage/llvm/compiler-rt/lib/sanitizer_common/scripts/check_lint.sh
/home/buildbots/ppc64be-clang-multistage-test/clang-ppc64be-multistage/llvm/compiler-rt/test/tsan/fiber_cleanup.cpp:71: Could not find a newline character at the end of the file. [whitespace/ending_newline] [5]
ninja: build stopped: subcommand failed.
Somehow this check is not part of 'ninja check-tsan'.
Added:
Modified:
compiler-rt/test/tsan/fiber_cleanup.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/tsan/fiber_cleanup.cpp b/compiler-rt/test/tsan/fiber_cleanup.cpp
index 11a78662e903..6c226ad692bd 100644
--- a/compiler-rt/test/tsan/fiber_cleanup.cpp
+++ b/compiler-rt/test/tsan/fiber_cleanup.cpp
@@ -68,4 +68,4 @@ int main() {
}
// CHECK-NOT: WARNING: ThreadSanitizer:
-// CHECK: PASS
\ No newline at end of file
+// CHECK: PASS
More information about the llvm-commits
mailing list