Fix test262 excludelist updater (#4021)

tools/run-tests.py --test262-es2015 update shouldn't
remove comments and newlines in the excludelist file.

JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác [email protected]
This commit is contained in:
Csaba Osztrogonác authored and GitHub committed 2020-07-20 13:47:45 +02:00
1 parent e8c5c46894
commit b162e27418
1 file changed
+2
+2
View File
@@ -140,6 +140,8 @@ def update_exclude_list(args):
exclude_file.write(line)
else:
new_passing_tests.add(test)
else:
exclude_file.write(line)
if failing_tests:
print("New failing tests added to the excludelist")