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 csaba.osztrogonac@h-lab.eu
This commit is contained in:
Csaba Osztrogonác 2020-07-20 13:47:45 +02:00 committed by GitHub
parent e8c5c46894
commit b162e27418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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")