summaryrefslogtreecommitdiff
path: root/utils/update_llc_test_checks.py
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-03-24 17:30:38 +0000
committerSanjay Patel <spatel@rotateright.com>2016-03-24 17:30:38 +0000
commit8674e1c5a332d22cb0486d7737af3f0e2e46fa4b (patch)
tree06e3bede34782dff3b3232dfa11659e43806513a /utils/update_llc_test_checks.py
parent869a02ea85546db31afcaf7a06ff0f57e1768a71 (diff)
don't hardcode the name of the llc checks script
We lose the 'utils' directory name in our advertising line with this change. We could retain that, but I don't see the point. This removes a dependency for making the script apply to more than 'llc'. Ie, we'll want to change the script name if it works with opt/clang too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264310 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/update_llc_test_checks.py')
-rwxr-xr-xutils/update_llc_test_checks.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/utils/update_llc_test_checks.py b/utils/update_llc_test_checks.py
index 55af9f1759f..8669b32324a 100755
--- a/utils/update_llc_test_checks.py
+++ b/utils/update_llc_test_checks.py
@@ -9,8 +9,7 @@ a single test function.
import argparse
import itertools
-# Could be used to advertise this file's name ("autogenerated_note").
-# import os
+import os # Used to advertise this file's name ("autogenerated_note").
import string
import subprocess
import sys
@@ -144,10 +143,8 @@ def main():
parser.add_argument('tests', nargs='+')
args = parser.parse_args()
- # FIXME: we don't need to hardcode this name.
autogenerated_note = ('; NOTE: Assertions have been autogenerated by '
- 'utils/update_llc_test_checks.py')
- # + os.path.basename(__file__))
+ + os.path.basename(__file__))
for test in args.tests:
if args.verbose: