I just add a new target 'test' to EMAN2 makefile. Which is used to call all <br>
the python unit test file. All these test files will be installed to <br>
EMAN2/test/rt directory. <br>
<br>
So you can run unit test in one command:<br>
$make test<br>
after your make install.<br>
<br>
Or you could go to EMAN2/test/rt directory run rt.py or any individual <br>
test_xxx.py file.<br>
<br>
I strongly encourage developer to run unit test before and after you change <br>
any EMAN2 function for not breaking any existing code. &nbsp;And also you are <br>
welcome to add your own unit test in ${EMAN2_SRC}/rt/pyem to corresponding <br>
test_xxx.py file. You can easily follow the existing code as example if you <br>
are not familiar with Python unittest.<br>
<br>
I noticed for some linux system, some unit test may not pass. That's because <br>
the buggy library in such system. For all versions of linux distribution I <br>
have, Fedora Core 4 is the worst, and Mandrake 10 is the best. <br clear="all"><br>-- <br>Grant Tang