[Opensim-dev] Restructuring test directories

Stefan Andersson stefan at tribalmedia.se
Mon Sep 8 09:08:08 UTC 2008


Ok, being a (the?) prebuild hacker, but having really little time, could you just try
 
<Files> <Match pattern="*.cs" recurse="true" >   <Exclude name="Tests" />
 </Match></Files>
as it actually already should be in there - don't know how well it works though - or if that actually means what we want it to; there's a 'pattern' attribute on Exclude as well, I'm unsure how name and pattern plays together.
 
If no joy, I'll have to dig deeper. Best regards,Stefan AnderssonTribal Media AB Join the 3d web revolution : http://tribalnet.se/ 



> Date: Mon, 8 Sep 2008 10:01:10 +0100> From: melanie at t-data.com> To: opensim-dev at lists.berlios.de> Subject: Re: [Opensim-dev] Restructuring test directories> > > Hi,> > yes, something like:> > <Files>> <Match pattern="*.cs" recurse="true"/>> <Exclude dir="Tests"/>> </Files>> > Regards,> > Melanie> > Mike Mazur wrote:> > Hi,> > > > On Mon, 08 Sep 2008 09:43:05 +0100> > Melanie <melanie at t-data.com> wrote:> > > >> Mike Mazur wrote:> >> > OpenSim/Region/ScriptEngine/Shared/CodeTools/<actual_code>.cs> >> > OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/<tests_for_actual_code>.cs> >> > >> With recursing, the tests wind up in the same assembly.> > > > Yes, as you already stated[1].> > > >> Setting it > >> up like this means another line in prebuild.xml for each > >> subdirectory of OpenSim/Region/ScriptEngine/Shared/CodeTools/, > >> because recursioin would have to be turned off.> > > > This sounds undesirable. Given the current situation, I think the tests> > should stay where they are.> > > > However you also mentioned a lack of "exclude_dir" option[2]. Perhaps> > our resident prebuild hacker could look into implementing such an> > option?> > > > Mike> > > > [1]> > https://lists.berlios.de/pipermail/opensim-dev/2008-September/002855.html> > [2]> > https://lists.berlios.de/pipermail/opensim-dev/2008-September/002857.html> > _______________________________________________> > Opensim-dev mailing list> > Opensim-dev at lists.berlios.de> > https://lists.berlios.de/mailman/listinfo/opensim-dev> > > > > _______________________________________________> Opensim-dev mailing list> Opensim-dev at lists.berlios.de> https://lists.berlios.de/mailman/listinfo/opensim-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20080908/92ab54cf/attachment-0001.html>


More information about the Opensim-dev mailing list