On Mon, 2011-07-25 at 14:26 +0200, Patrick Ohly wrote: > On Mo, 2011-07-25 at 13:51 +0200, Murray Cumming wrote: > > On Thu, 2011-07-14 at 04:24 +0200, Chris Kühl wrote: > > [snip] > > > I've been having issues when building > > > with --disable-shared and --enable-static. When trying this I get an > > > error telling me to add -ldl to the LDFLAGS which I've done and it > > > does in fact seem to build correctly. However, with this, the backends > > > don't get registered > > [snip] > > > > Maybe we need a simple unit test (for make check) that checks that the > > backends are registered. That would help us to fix this and make sure > > that it doesn't come back. > > Define "the backends" :-/ That list depends on configure options and who > is compiling SyncEvolution. Some people have additional backends in > their source tree. This complication is the reason why there is no such > test in client-test at the moment.
At the least there can be a test that there is at least one backend. Also, maybe we can test for the expected backends based on the configure options? > A unit test might be able to check that some well-known backends (like > the file backend) is listed, but anything beyond that is difficult. It > would have caught this issue, though. Yes, I think it would be useful. -- [email protected] www.murrayc.com www.openismus.com _______________________________________________ SyncEvolution mailing list [email protected] http://lists.syncevolution.org/listinfo/syncevolution
