[Opensim-dev] Blockers for unit testing physics modules
Teravus Ovares
teravus at gmail.com
Tue Feb 17 14:29:37 UTC 2009
Stefan,
No, this doesn't work. We've tried all sorts of ways to do that. But,
there is a solution that we're already using for this very problem
with bamboo. Simply copy the physics assembly to bin when running
the tests. As I said, bamboo already does this. The test harness
is currently in the odeplugin assembly and gets run successfully.
Best Regards
Teravus
On Tue, Feb 17, 2009 at 6:24 AM, Stefan Andersson <stefan at tribalmedia.se> wrote:
> You should be able to specify a 'path' attribute on the prebuild reference
> element.
>
> <Reference name="Test" localCopy="false" path="../../Whatever/Dir/Test.dll"
> />
>
> If that doesn't work, let me know and I'll have a look at a solution.
>
> (Sorry for the late reply)
>
> Best regards,
> Stefan Andersson
> Tribal Media AB
>
>
>
>
> ________________________________
> Date: Mon, 9 Feb 2009 20:54:33 +0200
> From: tommi.s.e.laukkanen at gmail.com
> To: opensim-dev at lists.berlios.de
> Subject: [Opensim-dev] Blockers for unit testing physics modules
>
> Hello
>
> I was writing some unit tests for physics modules and I collided with the
> following problem with prebuild and nant:
>
> Currently physics modules are stored in bin/Physics and because of this you
> can not reference them in further steps of the build as you can define only
> one reference directory for a project. I have referenced ode plugin dll from
> test dll but because of the reference problem the nant build fails. The test
> itself builds and works well in visual studio.
>
> I dont see any way around this. We would need to move the physics plugin
> dlls to bin directory like rest of the dlls or forget doing separate unit
> test dlls which refer to these plugins.
>
> This limitation is good to know for all prebuild work we do. Do not place
> the build output to any other directory than OpenSim/bin or you cannot
> reference that in other projects of nant build.
>
> If someone knows how to fix this easily please let me know.
>
> regards,
> Tommi
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
>
More information about the Opensim-dev
mailing list