[all-commits] [llvm/llvm-project] fad755: [llvm] [unittests] Remove temporary files after th...
Sergej Jaskiewicz via All-commits
all-commits at lists.llvm.org
Tue Sep 1 14:35:10 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fad75598d272b9a5591fb7d9b591cf00cdf5022c
https://github.com/llvm/llvm-project/commit/fad75598d272b9a5591fb7d9b591cf00cdf5022c
Author: Sergej Jaskiewicz <jaskiewiczs at icloud.com>
Date: 2020-09-02 (Wed, 02 Sep 2020)
Changed paths:
M llvm/include/llvm/Testing/Support/SupportHelpers.h
M llvm/unittests/ProfileData/SampleProfTest.cpp
M llvm/unittests/Support/CommandLineTest.cpp
M llvm/unittests/Support/FileCollectorTest.cpp
M llvm/unittests/Support/FileUtilitiesTest.cpp
M llvm/unittests/Support/LockFileManagerTest.cpp
M llvm/unittests/Support/TarWriterTest.cpp
M llvm/unittests/Support/VirtualFileSystemTest.cpp
M llvm/unittests/tools/llvm-exegesis/Mips/BenchmarkResultTest.cpp
M llvm/unittests/tools/llvm-exegesis/X86/SnippetFileTest.cpp
Log Message:
-----------
[llvm] [unittests] Remove temporary files after they're not needed
Some LLVM unit tests forget to clean up temporary files and
directories. Introduce RAII classes for cleaning them up.
Refactor the tests to use those classes.
Differential Revision: https://reviews.llvm.org/D83228
More information about the All-commits
mailing list