On OS X 10.5 Leopard, when using the gcc-4.0* or gcc-4.2 compiler, 25 out of 97 tests fail. The logs are attached.
*to use gcc-4.0, "-fdiagnostics-show-option" is removed from CMakeLists.txt in src and tests
Thank you for your report.
This is all the debug output comparisons. I am suspecting that the tests/jsoncmp program is failing. What version of python do you have installed on your mac? The json module, on which jsoncmp depends, is only available with python 2.6 or later. Perhaps you can find a backport of that module and install it? This is a guess since I don't have an old enough mac to test on.
Thanks, that explains it. On Leopard, /usr/bin/python is version 2.5.1. I should mention I'm writing to you in the context of updating the MacPorts graphite2 port; if a newer Python is needed we can certainly make MacPorts install it. All tests pass when I use MacPorts Python 2.7.3 instead. Is it only the tests that require Python 2.6+, or is Python used in the build or installation as well? If it's only needed for the tests, maybe you could write the test suite so that tests requiring Python 2.6 are skipped if that version is not available, or so that the error message clarifies the Python version requirement.
python 2.6 is required for all tests, but not for build and install (where python isn't used). So if your packaging doesn't require that tests be run, then you can drop the python dependency. Buit if people want to deal with the source or run any tests, they will need python 2.6. I don't want to go to the trouble of avoiding tests that use python. I would accept such a patch to the CMakeLists.txt in tests/ that takes out the debug comparison. But all the fuzztesting tests will not work either. So it starts getting trickier to try to put in python2.6 avoidance code all over the tests cmake stuff.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.