forked from mirrors/gecko-dev
Bug 1484503 - Ensure spidermonkey style check output is deterministic. r=jandem
This commit is contained in:
parent
06575221db
commit
f23e0ead9e
1 changed files with 4 additions and 4 deletions
|
|
@ -133,9 +133,6 @@ oddly_ordered_inclnames = set([
|
|||
# - This script has been broken somehow.
|
||||
#
|
||||
expected_output = '''\
|
||||
js/src/tests/style/BadIncludes2.h:1: error:
|
||||
vanilla header includes an inline-header file "tests/style/BadIncludes2-inl.h"
|
||||
|
||||
js/src/tests/style/BadIncludes.h:3: error:
|
||||
the file includes itself
|
||||
|
||||
|
|
@ -151,6 +148,9 @@ js/src/tests/style/BadIncludes.h:10: error:
|
|||
"stdio.h" is included using the wrong path;
|
||||
did you forget a prefix, or is the file not yet committed?
|
||||
|
||||
js/src/tests/style/BadIncludes2.h:1: error:
|
||||
vanilla header includes an inline-header file "tests/style/BadIncludes2-inl.h"
|
||||
|
||||
js/src/tests/style/BadIncludesOrder-inl.h:5:6: error:
|
||||
"vm/JSScript-inl.h" should be included after "vm/Interpreter-inl.h"
|
||||
|
||||
|
|
@ -306,7 +306,7 @@ def check_style(enable_fixup):
|
|||
edges[inclname] = set()
|
||||
|
||||
# Process all the JS files.
|
||||
for filename in js_names.keys():
|
||||
for filename in sorted(js_names.keys()):
|
||||
inclname = js_names[filename]
|
||||
file_kind = FileKind.get(filename)
|
||||
if file_kind == FileKind.C or file_kind == FileKind.CPP or \
|
||||
|
|
|
|||
Loading…
Reference in a new issue