-
Notifications
You must be signed in to change notification settings - Fork 293
Ensure ebin created for dia compiler #586
Conversation
|
@surik, change looks sane, i've just now noticed we've got no test coverage on the dia compiler. |
79228e9 to
99d1c5a
Compare
|
I added a small test for dia compiler and this test shows that compiler doesn't work on OTP 14 because uses undefined function |
|
I see, maybe that explains why there were no tests. |
|
I added ignoring test for dia compiler on OTP < 15. Tests on R16B02 are broken and looks this is not related to my changes. |
They were not, there's one specific test (
What are your thoughts on this subject? |
I fixed a small issue and provided a test which shows that it is works well. EUnit is enough in this case. What would be a different with Maybe we can write a better test for dia compiler in |
The test shows that something was compiled, a complete test would show that the output format is as expected. Eunit is apropriate for unit testing,
I understand, that's why i offered my help in making this a more complete PR that contains tests. If this is not possible i'd prefer this PR with just the fix and i'll propose a separate PR with more thorough testing. |
|
We can extend the test and fix R16 later, no need to block the pr.
|
60861a4 to
208d38d
Compare
|
Squashed |
|
Thanks, if you wish please add your name to the THANKS file if not already there |
208d38d to
92f593d
Compare
also add myself to THANKS
Test will be runed only on OTP >= 15
92f593d to
4bc4054
Compare
Ensure ebin created for dia compiler
Previously if
ebinwas not created beams for compiled did files were not stored