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 | 8690180f494fcd135f065a895b49ab15731efb4d (patch) | |
tree | 8ab6c512e42896a05228458038f0303dea17ebe0 /test/Scripts/prcontext.py | |
parent | a23c0662dc7bb4150c5d7eeedaf985d8897cfb69 (diff) |
Remove last remnants of Python/QMTest support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18672 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Scripts/prcontext.py')
-rwxr-xr-x | test/Scripts/prcontext.py | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/test/Scripts/prcontext.py b/test/Scripts/prcontext.py deleted file mode 100755 index b91f618c57..0000000000 --- a/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 - |