X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ftest.c;h=c7267e361df5fe5c710ede3bcf0e491b62f26771;hb=3ee7ef4088b265faffbdcabe3eb13d5f04a3b832;hp=f6dd704d311e8c76e89e8e54f370afc2eaf011f2;hpb=228ac8e67af8286708bf4ef65622e3d742272d61;p=yaz-moved-to-github.git diff --git a/src/test.c b/src/test.c index f6dd704..c7267e3 100644 --- a/src/test.c +++ b/src/test.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: test.c,v 1.6 2006-04-26 16:58:27 heikki Exp $ + * $Id: test.c,v 1.7 2006-05-10 12:52:28 heikki Exp $ */ /** \file test.c @@ -80,6 +80,7 @@ void yaz_check_init1(int *argc_p, char ***argv_p) " 1=Report+Summary only if tests fail.\n" " 2=Report failures. Print summary always\n" " 3=Report + summary always\n" + " 4=Report + summary + extra prints from tests\n" ); exit(0); } @@ -160,6 +161,10 @@ void yaz_check_print1(int type, const char *file, int line, } +int yaz_test_get_verbosity(){ + return test_verbose; +} + /* * Local variables: * c-basic-offset: 4