Test suite

Boriss Mejias bmc at info.ucl.ac.be
Tue May 24 14:06:32 CEST 2005


duchier at ps.uni-sb.de wrote:
> Boriss Mejias <bmc at info.ucl.ac.be> writes:
> 
> 
>>cd build/share/test
>>make boot-all
>>./oztest -v --ignores=dp,unix
> 
> 
> here ^^^ you compiled using the build system, but test with the installed
> system.  You probably should be invoking "make boot-check" or "make boot-zcheck"
> instead.

sorry, I forgot to mention that I did

export PATH=$MOZINSTALDIR:$PATH

just before running the test. So, I actually test with the same version I built.

> 
> 
>>In default and debug mode, if I run it without ignoring unix, it will hang in 
>>the test: unix_write1
> 
> 
> probably because it cannot find the smallbuf.so{native} functor.  That's where
> the boot- prefix for the make target is helpful: it sets up appropriate env
> vars.
> 
> 
>>Another question. Why in the Makefile the option boot-check ignores dp?
> 
> 
> For two reasons: (1) it doesn't exactly make sense to attempt dp on a
> non-installed system (the "remote" system is not in place). (2) running the dp
> test suite actually requires some special effort on Linux distros because the
> rsh spawning method (which is also being tested by the test suite) requires
> system support which is normally turned off for security reasons.

then, how is distribution being tested?

cheers
Boriss

> 
> --Denys
> _________________________________________________________________________________
> mozart-hackers mailing list                           mozart-hackers at ps.uni-sb.de      
> http://www.mozart-oz.org/mailman/listinfo/mozart-hackers
> 



More information about the mozart-hackers mailing list