Justin Mason wrote: > Tony Finch writes: >> I install SpamAssassin and the libraries it needs separately from the >> system perl so that I can have parallel installs of different versions. >> This leads to the tests failing because they run spamassassin.raw rather >> than the generated spamassassin which has had the library paths >> substituted. Is there a reason that the raw version is run rather than the >> substituted one? > > if I recall correctly, I think the idea is that it'll use the rules from > ../rules and the libs from ../lib, instead of the installed system rules > in /usr/share/spamassassin or /var/lib/spamassassin and the installed > libs from /usr/lib/perl5 (or wherever). > > It's tricky to support all the combinations. >
Yeah thats pretty much it, we used to have lots of problems with tests using system libraries and rules files, which makes it hard to test changes. Of course, I'm sure the current system isn't perfect and open to any improvements, but we do need to make sure when tests are running it isn't reaching outside of the working directory. Michael
