tsan: add newline in test file
authorDmitry Vyukov <dvyukov@google.com>
Sat, 11 Apr 2020 09:13:39 +0000 (11:13 +0200)
committerDmitry Vyukov <dvyukov@google.com>
Sat, 11 Apr 2020 09:13:39 +0000 (11:13 +0200)
commitc65e6079fc9bad2e9c6484e176632c11cb7d0154
tree7d275637ff63b28b46cda274987234872a1edf0e
parent76503cb3e1b5c1794d3cf9b7e6cd19be22e7778e
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'.
compiler-rt/test/tsan/fiber_cleanup.cpp