Skip to content
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

how to run tests? #23

Open
boneskull opened this issue Feb 6, 2018 · 5 comments
Open

how to run tests? #23

boneskull opened this issue Feb 6, 2018 · 5 comments

Comments

@boneskull
Copy link
Contributor

There are two separate dirs full of tests; one in filesystem/tests/ and tests/. I'm not sure how to run them.

@dashxdr
Copy link
Contributor

dashxdr commented Feb 11, 2018

They're associated with the ide you just got working... You can click the load button and you'll see them listed.

@boneskull
Copy link
Contributor Author

this is what happens when I try to flash the tests:

+---------------------+
| Building spiffs.img |
+---------------------+
/net.js
/i2c.js
/ledc.js
/bootwifi.js
/start.js
/stream.js
/neopixels.js
/web/ide.html
/web/test.html
/web/selectAP.html
/web/ide.js
/Partitions.js
/uart_processor.js
/tests/test_serial_write_1.js
/tests/test_nvs_ints.js
/tests/test_neopixel_webserver.js
SPIFFS_write error(-10010): unknown
error adding file!
Error for adding content from tests!

The reason is that the filepath length is too long. So, I have to move the tests dir out of filesystem before flashing. I'm not sure how others managed to do this.

@dashxdr
Copy link
Contributor

dashxdr commented Feb 11, 2018

test_neopixel_webserver.js rename to tst_neopixel_wbsrvr.js would fix it

@boneskull
Copy link
Contributor Author

...that isn't the only filename that's too long. I can certainly shorten the filenames to flash, but I'm mainly curious if others were able to flash as-is.

@dashxdr
Copy link
Contributor

dashxdr commented Feb 12, 2018

I saw the same error, but I didn't pay attention to it since it didn't halt the make process...

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

No branches or pull requests

2 participants