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

Testing CI with FFI patches #1323

Closed
wants to merge 20 commits into from
Closed

Conversation

pjonsson
Copy link
Contributor

@pjonsson pjonsson commented Sep 3, 2023

No description provided.

This adds a basic sanity check of
Cooja functionality for ContikiMoteTypes.
The Contiki-NG simulation tests benefit
substantially from ccache, so use that.
Add added/removed methods to the MoteType
interface, and call that from the simulation
when the motetype is added/removed.

Inside ContikiMoteType, replace the current
class-loader-tweaking with an arena that
is closed when the motetype is removed from
the simulation. This will close the shared
library as well.

This reduces the runtime for 07-simulation-base
from 1m 8s to 50s.
After switching ContikiMoteType to use
an Arena, this is no longer required.
This class no longer needs to be exposed
to the world.
The FFI supports symbol lookup, so query
that for the segment info and remove
the special cases from the parsing code.
@pjonsson pjonsson force-pushed the test-ffi branch 2 times, most recently from dcede4a to 922893d Compare September 3, 2023 10:22
@pjonsson pjonsson force-pushed the test-ffi branch 3 times, most recently from 27e4b13 to 777f0e4 Compare September 3, 2023 11:17
@pjonsson pjonsson deleted the test-ffi branch September 3, 2023 12:11
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.

1 participant