Skip to content

Commit c207d31

Browse files
committed
Fix tools/run-tests.py --test262-es2015
The output of the test262 runner changed between ES5.1 and ES6, our script should respect it to signal regressions in return code too. JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác [email protected]
1 parent 104001d commit c207d31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/runners/run-test-suite-test262.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def main(args):
132132

133133
if summary_found:
134134
print(output, end='')
135-
if ('Failed tests' in output) or ('Expected to fail but passed' in output):
135+
if ('Failed tests' in output) or ('Failed Tests' in output) or ('Expected to fail but' in output):
136136
return_code = 1
137137

138138
proc.wait()

0 commit comments

Comments
 (0)