Skip to content

Add tests for the es5.1 profile to tools/run-tests.py #2217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 24, 2018
Merged

Add tests for the es5.1 profile to tools/run-tests.py #2217

merged 1 commit into from
Mar 24, 2018

Conversation

pmarkee
Copy link
Contributor

@pmarkee pmarkee commented Feb 21, 2018

JerryScript-DCO-1.0-Signed-off-by: Peter Marki [email protected]

Copy link
Contributor

@galpeter galpeter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change also display a limitation of Travis as the test output now exceeds the 4 mb threshold thus killing the test job.

So before this can land I think we'll need to resolve the log length problem in a separate PR.

@@ -261,6 +279,9 @@ def run_jerry_tests(options):
if '--profile=es2015-subset' not in job.build_args:
skip_list.append(r"es2015\/")

if '--profile=es5.1' not in job.build_args:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no skip list for es5.1, so we don't need this part.

@LaszloLango
Copy link
Contributor

@pmarkee please rebase your PR.

@pmarkee
Copy link
Contributor Author

pmarkee commented Feb 28, 2018

@LaszloLango done

@galpeter
Copy link
Contributor

@LaszloLango @pmarkee I've created the #2228 PR to try and resolve the too big travis output problem.

@galpeter
Copy link
Contributor

galpeter commented Mar 2, 2018

@pmarkee could you please rebase the PR? The test runner quiet mode has landed which should fix the Travis output problem(s).

'--snapshot-save=on', '--snapshot-exec=on', '--vm-exec-stop=on', '--profile=es2015-subset'])
'--snapshot-save=on', '--snapshot-exec=on', '--vm-exec-stop=on', '--profile=es2015-subset']),
Options('unittests',
['--unittests', '--jerry-cmdline=off', '--error-messages=on', '--snapshot-save=on', '--snapshot-exec=on', '--vm-exec-stop=on', '--profile=es2015-subset', '--mem-stats=on']),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that these lines are too long (some of them are above 120 characters). We should extract the common options to a different variable and just concatenate the rest where needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review! Maybe we should do this to other parts of the code as well, it would make the lines much shorter and easier to read. For now I think we should just break the lines that are too long, and apply your suggestion in a separate PR afterwards.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay, that works for me

JerryScript-DCO-1.0-Signed-off-by: Peter Marki [email protected]
Copy link
Contributor

@galpeter galpeter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@yichoi
Copy link
Contributor

yichoi commented Mar 24, 2018

LGTM

@yichoi yichoi merged commit e54dde5 into jerryscript-project:master Mar 24, 2018
@pmarkee pmarkee deleted the es5.1-tests branch May 3, 2018 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants