mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 04:09:45 +00:00
[lit] Move ManyTests examples to lit/examples/many-tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188109 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a5e463ea5f
commit
de404a2809
7
utils/lit/examples/README.txt
Normal file
7
utils/lit/examples/README.txt
Normal 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.
|
10
utils/lit/examples/many-tests/README.txt
Normal file
10
utils/lit/examples/many-tests/README.txt
Normal 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.
|
@ -1,6 +1,6 @@
|
||||
# -*- Python -*-
|
||||
|
||||
Test = lit.Test
|
||||
from lit import Test
|
||||
|
||||
class ManyTests(object):
|
||||
def __init__(self, N=10000):
|
Loading…
Reference in New Issue
Block a user