Skip to content

Conversation

@seanshpark
Copy link
Contributor

This change is to fix build for ESP8266 board with jerry_api_value_t changes.

JerryScript-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com

@seanshpark
Copy link
Contributor Author

Though this is just a build fix, it fails to run in the target board for some reason that needs investigation. I'll work on this after this PR lands.

@LaszloLango LaszloLango added bug Undesired behaviour jerry-port Related to the port API or the default port implementation labels May 26, 2016
{
ret_code = jerry_run ();
jerry_api_value_t res;
ret_code = jerry_run (&res);
Copy link
Contributor

Choose a reason for hiding this comment

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

jerry_api_release_value should be called if jerry_run failes. The parameter of jerry_run is for error value not for result, so the name of the variable is misleading.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

got it. thanks.

@seanshpark seanshpark force-pushed the fixesp8266build branch 2 times, most recently from b355caa to 5771e6e Compare May 26, 2016 13:51
@zherczeg
Copy link
Member

LGTM

1 similar comment
@LaszloLango
Copy link
Contributor

LGTM

@LaszloLango
Copy link
Contributor

@seanshpark, please rebase to the current master, so we can land your PR.

@seanshpark
Copy link
Contributor Author

Done rebase, thank you.

@seanshpark
Copy link
Contributor Author

CI fails, last merge is #1104. @zherczeg , can you please check ?

@zherczeg
Copy link
Member

We have already spent a lot of time reproducing this issue, but no luck so far. It only appears on travis arm build. I submitted another patch, and it disappeared.

This change is to fix build for ESP8266 board with jerry_api_value_t changes.

JerryScript-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com
@seanshpark seanshpark merged commit ed2a360 into jerryscript-project:master May 31, 2016
@seanshpark
Copy link
Contributor Author

Thank you, rebase and merged.

@seanshpark seanshpark deleted the fixesp8266build branch May 31, 2016 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Undesired behaviour jerry-port Related to the port API or the default port implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants