Skip to content

Conversation

@aykevl
Copy link
Member

@aykevl aykevl commented Sep 25, 2020

This lets a few more packages pass tests: container/heap and encoding/ascii85.


After putting a lot of work in getting the standard library test package to work, I'm not sure whether that's the way forward. It consumes a lot RAM, which is often limited on microcontrollers (for example, it appears to run each test in a separate goroutine). And ideally we'd run tests directly on microcontrollers too. That's why I now plan to improve the testing package so that it is more compatible with the upstream testing package and get more packages to pass tests that way.

This lets a few more packages pass tests: container/heap and
encoding/ascii85.
@aykevl
Copy link
Member Author

aykevl commented Sep 25, 2020

The one failure appears to be unrelated to the code changes.

@deadprogram
Copy link
Member

Passed TinyHCI after restart.

And ideally we'd run tests directly on microcontrollers too.

Yes. That is exactly what we want.

@deadprogram deadprogram merged commit 9a12d12 into dev Oct 1, 2020
@deadprogram deadprogram deleted the test-helper branch October 1, 2020 00:15
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.

3 participants