[PATCH] Add support for auto-generating LIT tests by the build

Edwin Vane edwin.vane at intel.com
Tue Feb 19 11:05:02 PST 2013


Hi silvas,

autoconf and CMake flavours both updated to auto-generate files for use
in cpp11-migrate's LIT tests.

Auto-generated files are placed in the build directory under
test/cpp11-migrate/autogen. The directory structure past this point
mirrors the structure in the source directory under test/cpp11-migrate.
A lit.site.cfg is generated in test/cpp11-migrate/autogen to describe
the new test suite. When LIT runs, it runs the standard testsuite and
now also the auto-generated testsuite.

http://llvm-reviews.chandlerc.com/D423

Files:
  test/CMakeLists.txt
  test/Makefile
  test/cpp11-migrate/CMakeLists.txt
  test/cpp11-migrate/Makefile
  test/cpp11-migrate/UseAuto/Inputs/gen_my_std.h.py
  test/cpp11-migrate/UseAuto/gen_basic_std_iterator_tests.cpp.py
  test/lit.cfg
  test/lit.site.cfg.in
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D423.1.patch
Type: text/x-patch
Size: 13978 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130219/64ae8e87/attachment.bin>


More information about the cfe-commits mailing list