mailRe: r2774 - /branches/test_suite/test_suite/unit_tests/unit_test_runner.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Gary S. Thompson on November 09, 2006 - 18:19:
Edward d'Auvergne wrote:

On 11/10/06, Gary S. Thompson <garyt@xxxxxxxxxxxxxxx> wrote:

Edward d'Auvergne wrote:

> Gary, I was wondering how the code in this new 'unit_test_runner.py'
> file is executed?  I can't work out how to run this code.
>
> Cheers,
>
> Edward
>
>
> O

Hi Ed at the moment it is very crude (for testing and modularity purposes)


I have had a lot of difficulties trying to understand what the code is
doing without explanations in the code.


True but there is little point at the moment as I am still hacking ;-) Give it a couple of days and I will finalise things a bit more and add some comments...

1. add the toplevel of of the test-suite branch to your python path


That's how you get the 'from float import *' working.

yep


2. cd to test_suite/unit_tests

both  test_float.py and unit_test_runner.py are executable

expected results are


I'll have to update tomorrow.


n.b. I have just added some minor changes to make the files more
runable: revision 2794


I think I responded to that one :)

Edward

.



--
-------------------------------------------------------------------
Dr Gary Thompson
Astbury Centre for Structural Molecular Biology,
University of Leeds, Astbury Building,
Leeds, LS2 9JT, West-Yorkshire, UK             Tel. +44-113-3433024
email: garyt@xxxxxxxxxxxxxxx                   Fax  +44-113-2331407
-------------------------------------------------------------------





Related Messages


Powered by MHonArc, Updated Thu Nov 09 18:40:30 2006