summaryrefslogtreecommitdiffstats
path: root/llvm/utils/lit
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2013-08-09 21:39:28 +0000
committerDaniel Dunbar <daniel@zuster.org>2013-08-09 21:39:28 +0000
commitab320a673fab8b2ba3106fbaad39c203925d7dfc (patch)
tree6922cef2a57de6dabb3d594bf1732ca29c057a5a /llvm/utils/lit
parentc38c6f068bc64b628e1519abc3447229c61ed2de (diff)
downloadbcm5719-llvm-ab320a673fab8b2ba3106fbaad39c203925d7dfc.tar.gz
bcm5719-llvm-ab320a673fab8b2ba3106fbaad39c203925d7dfc.zip
[lit] Move ManyTests examples to lit/examples/many-tests.
llvm-svn: 188109
Diffstat (limited to 'llvm/utils/lit')
-rw-r--r--llvm/utils/lit/examples/README.txt7
-rw-r--r--llvm/utils/lit/examples/many-tests/README.txt10
-rw-r--r--llvm/utils/lit/examples/many-tests/lit.cfg (renamed from llvm/utils/lit/lit/ExampleTests/ManyTests/lit.local.cfg)2
3 files changed, 18 insertions, 1 deletions
diff --git a/llvm/utils/lit/examples/README.txt b/llvm/utils/lit/examples/README.txt
new file mode 100644
index 00000000000..a59daa8f770
--- /dev/null
+++ b/llvm/utils/lit/examples/README.txt
@@ -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.
diff --git a/llvm/utils/lit/examples/many-tests/README.txt b/llvm/utils/lit/examples/many-tests/README.txt
new file mode 100644
index 00000000000..6bffff1468c
--- /dev/null
+++ b/llvm/utils/lit/examples/many-tests/README.txt
@@ -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.
diff --git a/llvm/utils/lit/lit/ExampleTests/ManyTests/lit.local.cfg b/llvm/utils/lit/examples/many-tests/lit.cfg
index 6cc47522b16..8f7b940b6ea 100644
--- a/llvm/utils/lit/lit/ExampleTests/ManyTests/lit.local.cfg
+++ b/llvm/utils/lit/examples/many-tests/lit.cfg
@@ -1,6 +1,6 @@
# -*- Python -*-
-Test = lit.Test
+from lit import Test
class ManyTests(object):
def __init__(self, N=10000):
OpenPOWER on IntegriCloud