File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 3232import re
3333import sys
3434
35- ADVERT = '// NOTE: Assertions have been autogenerated by '
35+ ADVERT_BEGIN = '// NOTE: Assertions have been autogenerated by '
36+ ADVERT_END = """
37+ // The script is designed to make adding checks to
38+ // a test case fast, it is *not* designed to be authoritative
39+ // about what constitutes a good test! The CHECK should be
40+ // minimized and named to reflect the test intent.
41+ """
42+
3643
3744# Regex command to match an SSA identifier.
3845SSA_RE_STR = '[0-9]+|[a-zA-Z$._-][a-zA-Z0-9$._-]*'
@@ -172,7 +179,7 @@ def main():
172179
173180 # Generate a note used for the generated check file.
174181 script_name = os .path .basename (__file__ )
175- autogenerated_note = (ADVERT + 'utils/' + script_name )
182+ autogenerated_note = (ADVERT_BEGIN + 'utils/' + script_name + " \n " + ADVERT_END )
176183
177184 source_segments = None
178185 if args .source :
You can’t perform that action at this time.
0 commit comments