LDC Lit-based testsuite
This page describes the Lit-based test suite used for testing LDC.
Lit
Lit is a tool created by the LLVM developers to run compiler tests, written in Python.
Read about it from the horse's mouth: LLVM Blog: 'lit' it.
Lit is an important piece of LLVM's Testing Infrastructure.
LDC uses the Python package as available from https://pypi.python.org/pypi/lit , which can be best installed using Python's pip.
The rest of this page will describe important functionality of the testsuite. It is very instructive to look at LLVM/Clang/LDC tests to see how different kind of tests can be constructed!