xflouris / libpll

Phylogenetic Likelihood Library
GNU Affero General Public License v3.0
27 stars 6 forks source link

Test case for multi-platform compatibility #41

Open xflouris opened 9 years ago

xflouris commented 9 years ago

It would be nice to have test cases for Win{32,64} and Mac.

For example, something like ./runtest.py win64, which will use a cross-compiler (i.e. mingw) to build a PE file.

ddarriba commented 9 years ago

Sure. Actually I wanted to compile the library for win64 and I found, for example, that the PLL_EXPORT macro was missing in the global variables (e.g., pll_errno). This was not a producing errors when compiling libpll, but when you want to access the library from an external tool, as it would be the case for the test cases or even the optimization package in the experimental branch there was no possible to access those variables. I already added the macros in the dev branch, but the test cases will be great.