llvm-project/llvm/test/tools/llvm-rc
Martin Storsjö 64bc44f5dd [llvm-rc] Run clang to preprocess input files
Allow opting out from preprocessing with a command line argument.

Update tests to pass -no-preprocess to make it not try to use clang
(which isn't a build level dependency of llvm-rc), but add a test that
does preprocessing under clang/test/Preprocessor.

Update a few options to allow them both joined (as -DFOO) and separate
(-D BR), as rc.exe allows both forms of them.

With the verbose flag set, this prints the preprocessing command
used (which differs from what rc.exe does).

Tests under llvm/test/tools/llvm-rc only test constructing the
preprocessor commands, while tests under clang/test/Preprocessor test
actually running the preprocessor.

Differential Revision: https://reviews.llvm.org/D100755
2021-04-21 11:50:10 +03:00
..
Inputs [llvm-rc] Allow omitting components from VERSIONINFO versions 2020-09-16 09:34:26 +03:00
absolute.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
codepage.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
cpp-output.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
flags.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
helpmsg.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
include-paths.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
language.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
memoryflags-stringtable.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
memoryflags.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
not-expr.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
parser-expr.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
parser.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
preproc.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
tag-accelerators.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
tag-dialog.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
tag-escape.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
tag-html.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
tag-icon-cursor.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
tag-menu.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
tag-stringtable.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
tag-user.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
tag-versioninfo.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
tokenizer.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
versioninfo-padding.test [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00