-
Notifications
You must be signed in to change notification settings - Fork 112
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
[Feature Request]: Copying/installing the built 'make check' suite to a directory #54
Comments
Please see the discussion in #52. |
Great, thank you very much! Does the test suite consist in invoking the following executables, or do I need to invoke them in some special way, or are there perhaps other scripts to run? (these executables are what I get in the tests directory when building to 32bit Windows with mingw-w64)
|
Everything clear, I think. I have created this batch file which, AFAIK, runs all the tests that can be run from cross-compilation. There's an extra step, though, before running this batch file, and it's that you must copy the complete
|
You are free to close this issue, unless you feel that something could be added. Thank you very much!! |
Thanks @cblc for reporting this! We had a similar report recently (mentioned by @thesamesam) so we made a much needed update to the INSTALL file. I hope this update helps you and future users with similar questions. |
The new Tests section describes basic information about the tests, how to run them, and important details when cross compiling. We have had a few questions about how to compile the tests without running them, so hopefully this information will help others with the same question in the future. Fixes: #54
Describe the Feature
When cross-compiling to Windows (for example from either Linux or MacOS to Windows, using mingw-w64), I'd like to be able to run the
make check
suite in a Windows guest in a VM. For this to be possible, I'd need that the tests executables and scripts be copied (or installed) to a given directory, which I could have set up as a shared folder with a virtual machine.The current behaviour when you cross-compile and issue a
make check
, is that all test programs are built, but then they are executed (which obviously fails, as you are cross compiling).If your build system was plain Makefiles, I'd happily volunteer to implement this feature, but I have no Autotools knowledge, so I'm afraid I cannot help writing it.
Perhaps a good way of implementing this would be to add a switch to configure, so that when that switch is present, all the test programs are built but not executed, and are also installed when you do a
make install
. The only problem I see is that I'm not sure if the main script that runs all tests could be saved as a normal script file or if you are running all the tests directly from the Makefile generated byconfigure
.Expected Complications
No response
Will I try to implement this new feature?
No
The text was updated successfully, but these errors were encountered: