Commit Graph

11 Commits

Author SHA1 Message Date
Chandler Carruth
4177e6fff5 Convert all tests using TCL-style quoting to use shell-style quoting.
This was done through the aid of a terrible Perl creation. I will not
paste any of the horrors here. Suffice to say, it require multiple
staged rounds of replacements, state carried between, and a few
nested-construct-parsing hacks that I'm not proud of. It happens, by
luck, to be able to deal with all the TCL-quoting patterns in evidence
in the LLVM test suite.

If anyone is maintaining large out-of-tree test trees, feel free to poke
me and I'll send you the steps I used to convert things, as well as
answer any painful questions etc. IRC works best for this type of thing
I find.

Once converted, switch the LLVM lit config to use ShTests the same as
Clang. In addition to being able to delete large amounts of Python code
from 'lit', this will also simplify the entire test suite and some of
lit's architecture.

Finally, the test suite runs 33% faster on Linux now. ;]
For my 16-hardware-thread (2x 4-core xeon e5520): 36s -> 24s

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159525 91177308-0d34-0410-b5e6-96231b3b80d8
2012-07-02 12:47:22 +00:00
Matthijs Kooijman
888fa33cfb Fix some escaping and quoting in RUN lines, mainly involving { and <. In two
cases quoting of <{ didn't work out, so I changed the grep to check for }>
instead.

This fixes 7 testcases that were not properly running before.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52182 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-10 16:04:47 +00:00
Dan Gohman
63491b2e15 Delete the svn:executable property on these files, which aren't executable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40441 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-23 19:26:08 +00:00
Reid Spencer
90882454bd Try some alternative syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36018 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 22:27:05 +00:00
Reid Spencer
af6676df04 For PR1319:
Changes necessary for conversion of this directory to run the tests
under the llvm.exp version of llvm_runtest


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35993 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 16:40:08 +00:00
Reid Spencer
5373b721c0 Remove use of implementation keyword.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35412 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-28 02:38:26 +00:00
Reid Spencer
e3ff5ada8a For PR761:
Remove "target endian/pointersize" or add "target datalayout" to make
the test parse properly or set the datalayout because defaults changes.

For PR645:
Make global names use the @ prefix.

For llvm-upgrade changes:
Fix test cases or completely remove use of llvm-upgrade for test cases
that cannot survive the new renaming or upgrade capabilities.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33533 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-26 08:25:06 +00:00
Andrew Lenharth
41f8cb9390 Packed structs use packed struct initializers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33014 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-08 18:15:35 +00:00
Reid Spencer
d45bff9095 Run llvm-upgrade on test to prepare for new assembly syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32769 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-29 20:21:51 +00:00
Andrew Lenharth
6ec10ef00c packed initializers too in the test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32365 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-08 18:45:38 +00:00
Andrew Lenharth
6e7be8345b feature test for packed structs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32363 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-08 18:36:24 +00:00