[lit] Move ManyTests examples to lit/examples/many-tests.

llvm-svn: 188109
This commit is contained in:
Daniel Dunbar 2013-08-09 21:39:28 +00:00
parent c38c6f068b
commit ab320a673f
3 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,7 @@
==============
lit Examples
==============
This directory contains examples of 'lit' test suite configurations. The test
suites they define can be run with 'lit examples/example-name', for more details
see the README in each example.

View File

@ -0,0 +1,10 @@
========================
Many Tests lit Example
========================
This directory contains a trivial lit test suite configuration that defines a
custom test format which just generates a large (N=10000) number of tests that
do a small amount of work in the Python test execution code.
This test suite is useful for testing the performance of lit on large numbers of
tests.

View File

@ -1,6 +1,6 @@
# -*- Python -*-
Test = lit.Test
from lit import Test
class ManyTests(object):
def __init__(self, N=10000):