-/* $Id: test_reclists.c,v 1.1 2007-04-25 13:09:17 marc Exp $
+/* $Id: test_reclists.c,v 1.2 2007-05-11 08:41:07 marc Exp $
Copyright (c) 2006-2007, Index Data.
This file is part of Pazpar2.
#include "reclists.h"
+#if 0
+
void test_reclist_sortparms(int argc, char **argv)
{
NMEM nmem = nmem_create();
}
+#endif
+
int main(int argc, char **argv)
{
YAZ_CHECK_INIT(argc, argv);
YAZ_CHECK_LOG();
- test_reclist_sortparms(argc, argv);
+ //test_reclist_sortparms(argc, argv);
YAZ_CHECK_TERM;
-/* $Id: test_relevance.c,v 1.12 2007-04-26 21:31:05 marc Exp $
+/* $Id: test_relevance.c,v 1.13 2007-05-11 08:41:07 marc Exp $
Copyright (c) 2006-2007, Index Data.
This file is part of Pazpar2.
#include "record.h"
#include "reclists.h"
+#if 0
void test_relevance_7bit(int argc, char **argv)
{
// now sorting according to sorting criteria, here ascending title
struct reclist_sortparms *sort_parms = 0;
+
reclist_sortparms_insert(nmem, &sort_parms, service, "title", 1);
+
//reclist_sortparms_insert(nmem, &sort_parms, service, "relevance", 1);
// crashes with a fat segmentation fault! To be traced tomorrow
//YAZ_CHECK_EQ(0, 1);
}
+#endif
int main(int argc, char **argv)
{
YAZ_CHECK_LOG();
- test_relevance_7bit(argc, argv);
+ //test_relevance_7bit(argc, argv);
YAZ_CHECK_TERM;