[BioLib-dev] GSL

Pjotr Prins pjotr.public14 at thebird.nl
Mon Aug 10 09:01:40 UTC 2009


Hi Xin,

On Fri, Aug 07, 2009 at 04:14:29PM -0400, Xin Shuai wrote:
> I have already modified related .cmake files and tested it. It looked fine.If
> only the problem of my last email is solved, I think I can update the
> cmake-support submodule.

Good job :-). I can build libsequence and compile Python bindings
now. Cool stuff. Now the final step before merging into
release_candidate. After updating from my tree:

  git pull pjotr libsequence
  git submodule update

add a working 'integration' test to the Python module. When you do:

  cd src/mappings/swig/python/libsequence
  cmake .
  make
  make test

you'll see   1/  1 Testing TestPythonlibsequence         ***Failed 

the output is in Testing/Temporary/LastTest.log.

Currently ../test/test_libsequence.py consists of your doctests. They
are bound to be elaborate. A biolib integration test merely makes sure
the build system did not fail - so it usually has a few simple tests.

Rename your current doctest to ../test/doctest_libsequence.py

and create a new short test (see test_example.py) that confirms the
libraries are linked together and the mapping just works. Same for
the Perl module.

Once that test passes I'll merge into release_candidate so Mark (and
perhaps others) can start testing.

Pj.

P.S. I had to revert some changes in cmake-support. Not sure why you
changed those, but I think this is correct.




More information about the BioLib-dev mailing list