O , 2012-05-29 10:39 -0700, Craig James rakstīja: > On Tue, May 29, 2012 at 9:52 AM, My Th <rei4...@gmail.com> wrote: > O , 2012-05-29 09:24 -0700, Craig James rakstīja: > > On Mon, May 28, 2012 at 3:08 AM, Noel O'Boyle > <baoille...@gmail.com> wrote: > > > > > > Now I've checked the tautomer tests, and it also fails > with the "stock" > > > > r4758, i.e. before I changed smilesformat.cpp. > > > > > > > > $ bin/test_tautomer > > > > > > > > > /home/cjames/openbabel-2.3.x-r4758/source/test/tautomertest.cpp:76: > > > > canonicalTautomers.size() == 1 [13 == 1] (FAIL) > > > > > > I think there's something wrong with your setup because if > you go back > > > in time on the dashboard you can see that the tests passed > until last > > > week. I typically run the tests with "ctest -R taut* -VV", > which sets > > > some environment variables and then runs the test from the > correct > > > directory with verbose output. > > > > > > > Hmmm ... something isn't adding up. I double-checked that I > have an > > unaltered OpenBabel source tree at revision 4758. > > > > $ svn diff -r4758 > > $ > > > > I.e. it's a completely stock version of OpenBabel 2.3.x. > I'm using Ubuntu > > 10.04 ("stable") release, fully updated. I don't have any > environment > > variables set that would affect OpenBabel. After "make > install", I ran > > "ctest -R '.*' -VV" and got lots of segfaults (see summary > below). > > Hi! > > It is probably your setup. I just did a bisect on this issue > and it > points to r4763, before that all tests pass: > > Let me make it clear: I started with a completely clean, unaltered > version r4758 ("svn diff -r4758" confirms that my source code is > completely unaltered) in a fresh directory all by itself. I removed > all OpenBabel binaries from my system. I ran cmake, then "make > install", then "make test." It failed. > > I don't know why my results are different than the build platform, but > I'm virtually certain that the test failures are not due to an error > or misconfiguration on my part.
I made a fresh checkout just now and it works for me on Gentoo. This is what I did: $ svn co https://openbabel.svn.sourceforge.net/svnroot/openbabel test-svn $ cd test-svn $ svn co -r4758 $ cd .. $ mkdir build_test-svn $ cd build_test-svn $ ccmake ../test-svn/openbabel/trunk/ $ make -j4 $ LD_LIBRARY_PATH=./lib/ BABEL_LIBDIR=./lib/ BABEL_DATADIR=../test-svn/openbabel/trunk/data/ make test Note, that I have to set paths (and they have to be absolute, here listed relative for briefness) for running tests otherwise it picks up my system installation and tautomer test segfaults because of ABI break. Have you tried to run make tests in this manner without running make install? What does "ctest -VV -R graphsym" says (with paths set)? Reinis ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ OpenBabel-Devel mailing list OpenBabel-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-devel