Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/tests/util
On Sun Jun 13 2010 at 00:36:18 +0000, David Holland wrote:
> On Sat, Jun 12, 2010 at 01:15:02PM +0000, Antti Kantee wrote:
> > Modified Files:
> > src/tests/util: t_sort.sh
> >
> > Log Message:
> > Make the test work on an installation without sharesrc.
>
> So I was meaning to ask: why does "anita test" not install /usr/share,
Dunno. I'm guessing "it's not necessary to fullfill anita's mission".
Maybe eventually we'll have configuration file support for selecting sets,
but volunteer-project-etc-yaddayadda.
> and what else is it randomly missing that other tests might
> unknowingly depend on?
First of all, tests should be deterministic, so using something such as
"words" which might change from underneath the test is not recommended.
Admittedtly in this case the probability that words would shrink so much
as to make the test non-effective is quite low, but since deterministic
input can be generated just as easily, there is no excuse for not
doing so.
Second, working on the definition of "randomly missing". Stay tuned.
Home |
Main Index |
Thread Index |
Old Index