ldc/tests/runlit.py
Johan Engelen 8ac39a4f2d Relocate the Lit-based testsuite to /tests (from /tests/ir).
The plan is to have subdirs for grouping tests. For example, for PGO we could create the /tests/pgo folder. Lit automatically picks up on subdirs.
2016-02-29 00:34:37 +01:00

13 lines
467 B
Python
Executable file

#!/usr/bin/env python
# wrapper to run lit from commandline
if __name__=='__main__':
try:
import lit
except ImportError:
import sys
sys.exit('Package lit cannot be imported.\n' \
'Lit can be installed using: \'python -m pip install lit\'\n' \
'(Python versions older than 2.7.9 or 3.4 do not have pip installed, see:\n' \
'https://pip.pypa.io/en/latest/installing/)')
lit.main()