mirror of https://github.com/microsoft/clang.git
Move remaining %clang_cc1 tests out of test/Driver
clang -cc1 skips the driver so it never made sense to include these with the Driver tests. Basic type tests and flag tests generally both go in Frontend. Now that the final -cc1 tests have been moved out of test/Driver, add a local substitution to enforce and detect future mistakes. These miscategorized tests were probably the source of confusion in r194817. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194919 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cf19e5bad3
commit
5950181e65
|
@ -1 +1,5 @@
|
|||
config.suffixes = ['.c', '.cpp', '.h', '.m', '.mm', '.S', '.s', '.f90', '.f95']
|
||||
config.substitutions = list(config.substitutions)
|
||||
config.substitutions.insert(0,
|
||||
('%clang_cc1',
|
||||
"""*** Do not use 'clang -cc1' in Driver tests. ***""") )
|
||||
|
|
Loading…
Reference in New Issue