Playing around with lit I was able to get this configuration to work:
* auto-generate tests into
llvm_build/tools/clang/tools/extra/test/cpp11-migrate/gen/UseAuto
* Stick a lit.local.cfg in .../test/cpp11-migrate/gen which indicates to
find tests under .../gen and use .../test/cpp11-migrate/UseAuto/Output for
execution so the scripts and temporary files are located with hand-written test
scripts and temp files.
* run llvm-lit on llvm_build/tools/clang/tools/extra/test/cpp11-migrate/gen
I haven't hooked the deps up properly in cmake but it would be
straightforward I believe. This scheme would be extensible to subdirectories
other than UseAuto. I expect the autoconf of these changes wouldn't be too
difficult either.
http://llvm-reviews.chandlerc.com/D392
BRANCH
iter
ARCANIST PROJECT
clang-tools-extra
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits