-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
travis: Add job to build and test unix minimal port. #5227
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
travis: Add job to build and test unix minimal port. #5227
Conversation
Good idea. Is it worth making minimal configs for other ports to ensure they aren't depending on something that should be an optional feature? |
That's a lot of work, and since other (bare-metal) ports don't have automated tests running in Travis CI, I don't see how it's that useful. Running unix-minimal should be enough to check that the test suite can be run against almost any build, regardless of its config options. |
Looks like this will require a lot of work to update the tests, to get unix-minimal to pass the tests... |
And requires uintptr_t to declare the default version in py/mphal.h.
Only use % formatting when testing % itself, because only str.format is guaranteed to be available on any port.
Because "version" will always be there, but "exit" may not.
So they can be automatically skipped if bytearray is not enabled.
Using bytes will test the same path for the buffer protocol in py/objtype.c.
So they can be automatically skipped if slice is not enabled.
To test that unix minimal port builds, and that test-suite can run with minimal features enabled.
7864283
to
162016a
Compare
All tests fixed, and merged. |
esp32s2: rework nvm/nvs storage
To test that test-suite can run with minimal features enabled.