Fixes #276 - Allow use of aligned heaps#286
Conversation
acfoltzer
left a comment
There was a problem hiding this comment.
This looks great, thank you!
Before we merge, we'll need to add some tests for the new interface. It might be a little bit before I can get to doing that, so if merging the PR quickly is important I can give you guidance on navigating our test suite. In particular, you'd not want to use the TestRegion splice in the test definition macros, since create_aligned() is specific to MmapRegion.
I had a look, but as you said, it was a bit tricky to figure out where and how to add the tests 😅
I'm happy to take a stab at it, if you give me some details... Could you let me know where the right place in the repo would be for these tests (Is it lucet-runtime-tests, lucet-runtime/tests or should I create a new test folder under lucet-runtime-internals?) Any additional guidelines would be appreciated as well.
If this is a matter of a couple of weeks, I'm happy to wait as well 😃 |
bfa80dd to
1879d04
Compare
A couple weeks sounds about right. I'd also like to use this as an opportunity to write some better docs about how our test suite is laid out. We have the start of docs on the wiki but that page is not sufficient to answer your questions. |
|
@shravanrn sorry for the delay on this. I've added more detail to the wiki page that hopefully helps answer your questions. To make the advice there specific to this use case, I would put unit tests in Another idea that could help get a lot of test coverage quickly without too much new typing would be to create a wrapper type, something like |
|
That's great! Thanks for the info. This next week unfortunately is pretty busy, but I should be able to get some tests written up the following week. |
1879d04 to
eff7640
Compare
|
Hi @acfoltzer , |
|
@acfoltzer @pchickey - just following up about this |
pchickey
left a comment
There was a problem hiding this comment.
Looks good! Just two minor things
eff7640 to
41a9212
Compare
|
Have made requested changes. |
41a9212 to
85c50b5
Compare
No description provided.