From b162e27418ba8c001ef98f12091cbf17be1fe0da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Csaba=20Osztrogon=C3=A1c?= Date: Mon, 20 Jul 2020 13:47:45 +0200 Subject: [PATCH] Fix test262 excludelist updater (#4021) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tools/runners/run-test-suite-test262.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/runners/run-test-suite-test262.py b/tools/runners/run-test-suite-test262.py index 6614e6624..2dd3fce92 100755 --- a/tools/runners/run-test-suite-test262.py +++ b/tools/runners/run-test-suite-test262.py @@ -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")