Chris Lattner
36049c026a
simplify shell syntax to work better on solaris, patch by
...
Nathan Keynes!
llvm-svn: 52721
2008-06-25 16:03:42 +00:00
Dan Gohman
232e8feb40
Add a test script for counting lines. This can be used instead of the
...
"| grep foo | wc -l | grep 2" idiom used by many tests, so that, for
example, tests don't mistakenly accept a count of 12 when 2 is
expected. Also, the new form is more consice: "| grep foo | count 2".
llvm-svn: 40988
2007-08-10 15:07:05 +00:00
Reid Spencer
489c9a2006
Add a script to run a command but ignore its return code. This script
...
always returns 0. This is useful with the llvm.exp based dejagnu testing
when a test wants to check the error output of tool invocation that
returns non-zero. Since every command is checked with llvm.exp, there needs
to be a way to prevent that checking and this script is it.
llvm-svn: 35991
2007-04-14 16:14:08 +00:00
Reid Spencer
3d513e3571
Make it handle plain old cast too, for old assembly.
...
llvm-svn: 31702
2006-11-13 16:11:14 +00:00
Reid Spencer
51883d326d
Handle ptrtoint and inttoptr
...
llvm-svn: 31701
2006-11-13 16:09:37 +00:00
Reid Spencer
aa1c2140f7
Instruction name changes.
...
llvm-svn: 31663
2006-11-11 01:04:13 +00:00
Reid Spencer
dcce9e0cc9
Okay, need a pattern before and after the cast pattern.
...
llvm-svn: 31443
2006-11-04 01:11:19 +00:00
Reid Spencer
bb2e479ee9
Allow the regular expression to be extended by a parameter.
...
llvm-svn: 31442
2006-11-04 00:58:39 +00:00
Reid Spencer
cc134bcc6c
For PR950:
...
A little script to return 1 if it encounters any of the cast instructions
on the stdin.
llvm-svn: 31441
2006-11-04 00:49:52 +00:00
Reid Spencer
2181077443
Remove last remnants of Python/QMTest support
...
llvm-svn: 18672
2004-12-08 23:07:27 +00:00
Tanya Lattner
3f146f7f6c
Rewrote prcontext.py in tcl.
...
llvm-svn: 17708
2004-11-13 21:03:22 +00:00
John Criswell
40fb366a90
New python script that print a specified number of lines surrounding a
...
located pattern.
In other words, grep -C for Solaris.
llvm-svn: 15425
2004-08-02 22:28:50 +00:00
Misha Brukman
0ec2ea17e1
These transitional scripts are no longer necessary, no one should have `as' or
...
`dis' anymore.
llvm-svn: 8563
2003-09-16 15:37:32 +00:00
Misha Brukman
f6221eca2c
Near-term fix for renaming as' ->
llvm-as' and dis' ->
llvm-dis'.
...
llvm-svn: 8194
2003-08-28 21:46:34 +00:00
Chris Lattner
8138e135b6
Remove obsolete script
...
llvm-svn: 6967
2003-06-28 23:32:28 +00:00
Chris Lattner
504ffdce51
New script for testrunner programs
...
llvm-svn: 6956
2003-06-28 22:52:52 +00:00
Chris Lattner
187311019f
Handle quoting right
...
llvm-svn: 6954
2003-06-28 22:43:58 +00:00
Chris Lattner
10e10f73c2
Initial checkin of grep-not script
...
llvm-svn: 6951
2003-06-28 22:28:31 +00:00
Chris Lattner
3850a1a1a2
Describe directory
...
llvm-svn: 6949
2003-06-28 22:20:19 +00:00