Skip to content

Conversation

@rtakacs
Copy link
Contributor

@rtakacs rtakacs commented Jan 23, 2018

Since TizenRT doesn't have any commands to get the return value of a process,
added a debug print line that shows the return value.

Similar solution was introduced in IoT.js (iotjs_main_tizenrt.c#L167)

@robertsipka
Copy link
Contributor

LGTM (informally)

Copy link
Member

@zherczeg zherczeg left a comment

Choose a reason for hiding this comment

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

LGTM

int ret_code = jerry_cmd_main(argc, argv);

#ifdef CONFIG_DEBUG_VERBOSE
printf("JerryScript Result: %d\n", ret_code);
Copy link
Member

Choose a reason for hiding this comment

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

lowercase "result"

Copy link
Contributor

Choose a reason for hiding this comment

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

@rtakacs What about jerry_port_log, insted of printf?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@glistening Good idea, thanks.
@zherczeg Fixed.

Since TizenRT doesn't have any commands to get the return value of a process,
added a debug print line that shows the return value.

JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.uszeged@partner.samsung.com
@rtakacs rtakacs force-pushed the tizenrt-verbose-print branch from bba10d5 to e9ca9d4 Compare January 24, 2018 08:42
@yichoi
Copy link
Contributor

yichoi commented Jan 25, 2018

LGTM

@yichoi yichoi merged commit 7acd688 into jerryscript-project:master Jan 25, 2018
@rtakacs rtakacs deleted the tizenrt-verbose-print branch January 18, 2019 14:28
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.

5 participants