On Tue, Mar 31, 2009 at 8:59 PM, Rush Manbert <[email protected]> wrote: > I checked out the head from SVN on Friday and I'm trying to build and run > the C++ code in the test subdirectory tree. > > I started in test/cpp with this: > > make -f Makefile.thrift > > I'm getting lots of undefined symbols errors. Some of them are shown below: > > "thrift::test::Insanity::operator<(thrift::test::Insanity const&) const", > referenced from: > thrift::test::CrazyNesting::read(apache::thrift::protocol::TProtocol*) > in ccEhuBEo.o > > std::_Rb_tree<thrift::test::Insanity, std::pair<thrift::test::Insanity > const, std::basic_string<char, std::char_traits<char>, std::allocator<char> >> >, std::_Select1st<std::pair<thrift::test::Insanity const, > std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, > std::less<thrift::test::Insanity>, > std::allocator<std::pair<thrift::test::Insanity const, > std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >>::lower_bound(thrift::test::Insanity const&)in ccEhuBEo.o > > I have a feeling that I'm doing something wrong, but I haven't been able to > find any info on running the tests. > > Can anyone please point me in the right direction? > > Thanks, > Rush >
Hi Rush, i can't help you with the tests in test/cpp, but there's a bunch of tests you can run by disabling the python tests that fails in test/ Edit test/Makefile.am and add a comment to SUBDIRS += py, run make and make check David, any hint for test/cpp ? -- Jérémie 'ahFeel' BORDIER
