Hi,
I'm currently trying rtt 2.3.1 release on MSVC. I'm currently having
problems to make unit-test run.
Fisrt, I made a patch in joined file in order make the copying successful.
Secondly, it can't link now because of init_memory_pool() undefined
reference. Where this function is implemented. Can you help me ?
Thanks
Attachment | Size |
---|---|
Bad_copy_test_files.patch | 1.33 KB |
RTT 2.3.1 : MSVC unit-test
On Friday 01 April 2011 16:39:40 Simon Pelletier-Thibault wrote:
> Hi,
>
> I'm currently trying rtt 2.3.1 release on MSVC. I'm currently having
> problems to make unit-test run.
>
> Fisrt, I made a patch in joined file in order make the copying successful.
>
> Secondly, it can't link now because of init_memory_pool() undefined
> reference. Where this function is implemented. Can you help me ?
Proposed fix in attachment.
Why didn't you add the line:
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CFG_INTDIR}
to the SetupTests target ? Instead of using the mkdir/cp/copy implementation
you wrote ?
Peter
RTT 2.3.1 : MSVC unit-test
I'm not an expert with cmake, if it create the directory before copying that
shoud be fine, I will test it and warn you if it okay with another patche
thank for the support.
2011/4/1 Peter Soetens <peter [..] ...>
> On Friday 01 April 2011 16:39:40 Simon Pelletier-Thibault wrote:
> > Hi,
> >
> > I'm currently trying rtt 2.3.1 release on MSVC. I'm currently having
> > problems to make unit-test run.
> >
> > Fisrt, I made a patch in joined file in order make the copying
> successful.
> >
> > Secondly, it can't link now because of init_memory_pool() undefined
> > reference. Where this function is implemented. Can you help me ?
>
> Proposed fix in attachment.
>
> Why didn't you add the line:
>
> COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CFG_INTDIR}
>
> to the SetupTests target ? Instead of using the mkdir/cp/copy
> implementation
> you wrote ?
>
> Peter
>
>
RTT 2.3.1 : MSVC unit-test
On Friday 01 April 2011 16:39:40 Simon Pelletier-Thibault wrote:
> Hi,
>
> I'm currently trying rtt 2.3.1 release on MSVC. I'm currently having
> problems to make unit-test run.
>
> Fisrt, I made a patch in joined file in order make the copying successful.
>
> Secondly, it can't link now because of init_memory_pool() undefined
> reference. Where this function is implemented. Can you help me ?
>
> Thanks
Oh damn. The tet-runner code doesn't check if the rt-malloc is enabled. I'll
prepare a patch...
Peter