These tests were failing for me on windows with a very curious error:
error: argument unused during compilation: '/Zc:preprocessor'
It turns out that they were walking up the directory structure and
finding the compilation DB in my top level llvm-project directory.
Add -- to the ends of the clang-tidy command lines so that they
don't go looking for random compilation databases. Also replace args
specified with -extra-arg with directly specifying them to the
FixedCompilationDatabase.