You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucy.apache.org by Nick Wellnhofer <we...@aevum.de> on 2016/03/04 15:53:05 UTC

[lucy-dev] Testing Lucy and Clownfish with test_all.sh

Lucifers,

I updated Lucy's test_all.sh script which simplifies testing of Lucy and 
Clownfish under a variety of host languages. The script must be run from a 
directory containing the Clownfish sources in subdir "clownfish" and the Lucy 
sources in subdir "lucy". It can be invoked with

     $ lucy/devel/bin/test_all.sh

It can also be used to test release candidates if you extract the tarballs and 
rename the source directories as outlined above.

     $ curl 
https://dist.apache.org/repos/dist/dev/lucy/clownfish/apache-clownfish-0.5.0-rc1/apache-clownfish-0.5.0.tar.gz 
|tar xz
     $ curl 
https://dist.apache.org/repos/dist/dev/lucy/apache-lucy-0.5.0-rc1/apache-lucy-0.5.0.tar.gz 
|tar xz
     $ mv apache-clownfish-0.5.0 clownfish
     $ mv apache-lucy-0.5.0 lucy
     $ lucy/devel/bin/test_all.sh

The script requires a golang installation, Perl, and a C compiler. You can 
also test host languages separately by running

     $ lucy/devel/bin/test_all.sh go
     $ lucy/devel/bin/test_all.sh perl
     $ lucy/devel/bin/test_all.sh c

I encourage everyone to give it a try. The Go bindings particularly need more 
testing.

Nick