-
-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test suite on windows? #84
Comments
I run the restsuite manually on my Win machine using MinGW (as it supports autotools). But it is not on Appveyor CI. Sorry, I cannot see the error you are pointing to. |
so the tests are not run using visual studio? let's see if we can provide with @massich a small example to replicate the windows pb we observed using the windows conda package. |
I do all the debugging and development on MSVC. But you are right, before running the testsuite in MinGW I could replace the MinGW binaries by the MSVC binaries to check how it performs. Let's see. |
another question: why is there no matio_test_cases_compressed_hdf_be.mat?
|
Because I have no BE machine with MATLAB application. See #25. |
Sorry, the compressed one is called matio_test_cases_hdf_be.mat and is there. |
ok and this file corresponds to : matio_test_cases_uncompressed_hdf_le.mat
or matio_test_cases_compressed_hdf_le.mat in be mode?
|
File matio_test_cases_hdf_be.mat corresponds to matio_test_cases_compressed_hdf_le.mat in BE mode. Uncompressed HDF5 was first available with MATLAB R2017a. See #62. |
ok thanks. Any success running the tests with visual studio binaries?
|
Yes, 100% test success running the MSVC binaries through the testsuite in a Cygwin64 environment. I noticed a small configuration improvement though, similar as c7805c9 and will fix the test for the diff command later on: Lines 55 to 62 in 5c2d85b
|
ok then we'll have to dig into it but for now just changing in our code
this line:
https://github.com/massich/findmkl_openmeeg/blob/master/OpenMEEGMaths/include/MatlabIO.H#L218
so it uses MAT_FT_DEFAULT and not MAT_FT_MAT73 makes our test suite pass
using the windows conda packages... is it possible that we may need to
change of usage of matio just changing this variable?
thanks a lot
|
is there the possibility to add We have created a cmake project to build |
I exported the appveyor.yml: appveyor.zip |
it says: Project not found or access denied.
|
I know. But I attached the exported config. |
I see. If you upload this |
Alexandre and Joan, I'm working to integrate our OpenMEEG/matio cmake "fork" into the main matio repo. The new testsuite (when fully operational, which is not yet the case) will be able to run on windows. I hope to have a fully working prototype soon. |
True. This was only a local test I run for you after you asked for it. It is not part of any CI. |
Check 7560022. |
thanks. So you are testing the 32bits version.
|
Yes. Neither I succeeded in running the 64-bit build nor the MinGW build. Sorry for that. If you are luckier than me I would be glad to update. |
@massich maybe you can help here?
|
The cmake branch will probably help here.... Some more patience is needed as I have some personal problems right now. Give some more weeks to polish things up...... |
Finally, test suite on Windows is available for cygwin, cygwin64 and mingw-w64 by 809af56. |
hi,
we've been trying with @massich to migrate our build system to the matio conda packages for the OpenMEEG project.
So far we build everything from source using CMake external project mechanism but it makes our CI really slow and makes us maintain a lot of code. Also we would like to make soon a conda package based on the matio one.
while we thought we were almost there as it was working on mac and linux, we hit test errors on windows that only appear when we allow support for matlab IO. So it's matio related. See CIs status at the bottom of : massich/findmkl_openmeeg#32
before digging into this we wanted to know if tests were run on windows by appveyor or some continuous integration? if someone tells us that all tests pass on windows then it's a bug in our code:
https://github.com/massich/findmkl_openmeeg/blob/master/OpenMEEGMaths/include/MatlabIO.H
that is specific to windows....
could there be any compiler definition / option that we may have missed on windows?
thanks a lot for any feedback or hint.
thanks
The text was updated successfully, but these errors were encountered: