diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-08 23:07:27 +0000 | 
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-08 23:07:27 +0000 | 
| commit | ca06c8e851eafdb3a3a1cb76e31ed2dac9274559 (patch) | |
| tree | 23f83df8cbbaceb30209a44228e6f496e2aa5f44 /llvm/test/Scripts | |
| parent | 4e197480e153518237c50105a9bd68db2676cee3 (diff) | |
| download | bcm5719-llvm-ca06c8e851eafdb3a3a1cb76e31ed2dac9274559.tar.gz bcm5719-llvm-ca06c8e851eafdb3a3a1cb76e31ed2dac9274559.zip | |
Remove last remnants of Python/QMTest support
llvm-svn: 18672
Diffstat (limited to 'llvm/test/Scripts')
| -rwxr-xr-x | llvm/test/Scripts/prcontext.py | 29 | 
1 files changed, 0 insertions, 29 deletions
| diff --git a/llvm/test/Scripts/prcontext.py b/llvm/test/Scripts/prcontext.py deleted file mode 100755 index b91f618c57b..00000000000 --- a/llvm/test/Scripts/prcontext.py +++ /dev/null @@ -1,29 +0,0 @@ -# -# Usage: -# prcontext <pattern> <# lines of context> -# - -import sys - -# -# Get the arguments -# -pattern=sys.argv[1] -num=int(sys.argv[2]) - -# -# Get all of the lines in the file. -# -lines=sys.stdin.readlines() - -index=0 -for line in lines: -  if ((line.find(pattern)) != -1): -    if (index-num < 0): -      bottom=0 -    else: -      bottom=index-num -    for output in lines[bottom:index+num+1]: -      print output[:-1] -  index=index+1 - | 

