Files
nodejs-test262/sort-test-cases-for-normalized-output.patch

15 lines
575 B
Diff

Index: test262-d067d2f0ca30/tools/packaging/test262.py
===================================================================
--- test262-d067d2f0ca30.orig/tools/packaging/test262.py
+++ test262-d067d2f0ca30/tools/packaging/test262.py
@@ -381,7 +381,8 @@ class TestSuite(object):
for f in [x for x in dirs if self.IsHidden(x)]:
dirs.remove(f)
dirs.sort()
- for f in sorted(files):
+ files.sort()
+ for f in files:
if self.IsTestCase(f):
full_path = path.join(root, f)
if full_path.startswith(self.test_root):