Optimize test262 runner (#4120)

Changes:
- Add new option to run-tests.py: --test262-test-list to run selected tests only
- Fix exclude list updater accordingly
- Run ESNext tests on GitHub CI in two batches to decrease runtime

JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác csaba.osztrogonac@h-lab.eu
This commit is contained in:
Csaba Osztrogonác
2020-08-13 13:47:14 +02:00
committed by GitHub
parent 409ead7415
commit 8964a2bd18
5 changed files with 50 additions and 15 deletions
+2 -2
View File
@@ -424,7 +424,7 @@ class TestResult(object):
mode = self.case.get_mode()
if self.has_unexpected_outcome():
if self.case.is_negative():
print("=== %s was expected to fail in %s, but didn't ===" % (name, mode))
print("=== %s passed in %s, but was expected to fail ===" % (name, mode))
print("--- expected error: %s ---\n" % self.case.get_negative_type())
else:
if long_format:
@@ -829,7 +829,7 @@ class TestSuite(object):
if result.has_unexpected_outcome():
if result.case.is_negative():
self.logf.write(
"=== %s was expected to fail in %s, but didn't === \n" % (name, mode))
"=== %s passed in %s, but was expected to fail === \n" % (name, mode))
self.logf.write("--- expected error: %s ---\n" % result.case.GetNegativeType())
result.write_output(self.logf)
else: