Make test262-es2015 output more verbose (#3924)

It makes easier to debug unexpected failures on the CI.

JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác oszi@inf.u-szeged.hu
This commit is contained in:
Csaba Osztrogonác
2020-06-30 12:47:54 +02:00
committed by GitHub
parent 5535ea88ac
commit 89342ea503
2 changed files with 13 additions and 4 deletions
+11 -2
View File
@@ -1,8 +1,17 @@
diff --git a/tools/packaging/test262.py b/tools/packaging/test262.py
index 921360a05e..27a2938e48 100755
index 921360a05e..a19c8a14e6 100755
--- a/tools/packaging/test262.py
+++ b/tools/packaging/test262.py
@@ -469,8 +469,8 @@ class TestSuite(object):
@@ -168,6 +168,8 @@ class TestResult(object):
if len(err) > 0:
target.write("--- errors --- \n %s" % err)
+ target.write("\n--- exit code: %d ---\n" % self.exit_code)
+
# This is a way to make the output from the "whitespace" tests into valid XML
def SafeFormat(self, msg):
try:
@@ -469,8 +471,8 @@ class TestSuite(object):
if self.ShouldRun(rel_path, tests):
basename = path.basename(full_path)[:-3]
name = rel_path.split(path.sep)[:-1] + [basename]