On Thu, Oct 28, 2010 at 09:13:18AM +0000, SourceForge.net wrote: > Bugs item #3097209, was opened at 2010-10-28 09:13 > Message generated for change (Tracker Item Submitted) made by nobody > You can respond by visiting: > https://sourceforge.net/tracker/?func=detail&atid=428740&aid=3097209&group_id=40728 > > Please note that this message will contain a full copy of the comment thread, > including the initial issue submission, for this request, > not just the latest update. > Category: Installation/Building > Group: 2.3.x > Status: Open > Resolution: None > Priority: 5 > Private: No > Submitted By: Nobody/Anonymous (nobody) > Assigned to: Nobody/Anonymous (nobody) > Summary: make test fails on some tests > > Initial Comment: > After creating a "build" directory, and running "cmake ../" and "make -j2", I > ran "make test" and got fails on: > > 2:builder_Test > 21:inchiSamples_Test > 27:charge-mmff94_Test > 31:ffgaff_Test > 32:ffghemical_Test > 34:ffuff_Test > 42:logp_psa_Test > 52:pytest_babel > 53:pytest_sym > 54:pytest_fastsearch > 55:pytest_unique > 56:pytest_kekule > > The reason for this is that "make test" does not set up the > environment variables to point to the data and lib folders, so > fragments.txt is not found in the builder_Test, and the others fail > for similar reasons. Setting the environment variables manually > shouldn't be necessary, as cmake was told where to find the source > files... > > Setting the environment variables and re-running reported all tests passed.
I am seeing something similar (however, for me only the python tests fail), but to me it seems like tests/CMakeLists.txt is trying to set those up, but fails. If I export BABEL_LIBDIR prior to running make test, the python tests pass. I have to set LD_LIBRARY_PATH as well for the python bindings test, as otherwise the import of openbabel.py fails (the python module links to the openbabel library, which is not in a system patch yet). Michael ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ OpenBabel-Devel mailing list OpenBabel-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-devel