X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fkmp-test.c;h=038c6e751c2cfa230383fb7de448acf103313e07;hb=dbe3b315edac25079fcbfe4df20e80b534f2a7a1;hp=92b91c762742de87d825c0de05bcc070863ca604;hpb=a4fe009d3366b0a3e119713b0ecc7fc0070efdfa;p=libucw.git diff --git a/ucw/kmp-test.c b/ucw/kmp-test.c index 92b91c76..038c6e75 100644 --- a/ucw/kmp-test.c +++ b/ucw/kmp-test.c @@ -50,6 +50,8 @@ test1(void) kmp1_cleanup(&kmp); } +#ifdef CONFIG_CHARSET /* This one depends on libcharset */ + /* TEST2 - various tracing */ #define KMP_PREFIX(x) kmp2_##x @@ -89,6 +91,8 @@ test2(void) kmp2_cleanup(&kmp); } +#endif + /* TEST3 - random tests */ #define KMP_PREFIX(x) kmp3_##x @@ -199,7 +203,9 @@ int main(void) { test1(); +#ifdef CONFIG_CHARSET test2(); +#endif test3(); test4(); return 0;