llvm-project/clang/unittests/Driver
Michal Gorny 593970f1a7 [Driver] Add unit tests for Distro detection
Add a set of unit tests for the distro detection code. The tests use an
in-memory virtual filesystems resembling release files for various
distributions supported. All release files are provided (not only the
ones directly used) in order to guarantee that one of the rules will not
mistakenly recognize the distribution incorrectly due to the additional
files (e.g. Ubuntu as Debian).

Differential Revision: https://reviews.llvm.org/D25869

llvm-svn: 288062
2016-11-28 21:11:22 +00:00
..
CMakeLists.txt [Driver] Add unit tests for Distro detection 2016-11-28 21:11:22 +00:00
DistroTest.cpp [Driver] Add unit tests for Distro detection 2016-11-28 21:11:22 +00:00
MultilibTest.cpp Update unit test for r232916. 2015-03-22 16:05:46 +00:00
ToolChainTest.cpp [Driver] Set the default driver mode based on the executable. 2016-08-12 17:47:52 +00:00