This repository was archived by the owner on Aug 5, 2022. It is now read-only.
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
[ashell] Could not parse JS #785
Closed
Description
Description
Could not parse JS only when run test-error.js in ashell
Test Code
Steps to Reproduction
- Set 'CONFIG_USB_CDC_ACM=y' in fragments/prj.conf.arduino_101_dev to enable USB CDC ACM device class driver.
- Execute "make DEV=ashell" in the latest zephyrJS build
- Execute "make dfu" to flash ashell to Arduino101 and Reset device
- Use the following command to connect to the ashell from a terminal
$ screen /dev/ttyACM0 115200
acm> load test.js
and EnterRAW> /*Paste code for test cases*/
and CTRL+Z to finish transferacm> run test.js
Actual Result
After 7: Got error prompt:
[ERR] Could not parse JS
Error
Expected Result
After 7: Test case is executed successfully.
Test Builds
Branch | Commit Id | Target Device | Test Date | Result |
---|---|---|---|---|
master | 06004c9 | Arduino 101 | Mar 02, 2017 | Fail |