Re: [Proftpd-user] How to execute unit and regression tests

TJ Saunders <[email protected]>
Newsgroups gmane.network.proftpd.user
Message-ID <1517161652.2936612.1250918184.7F6329F6@webmail.messagingengine.com>
> I just installed ProFTPD version "1.3.7rc1" and trying to execute tests. 
> It looks like that executing "make check" in the top level directory is 
> not building and executing tests.

Are you using the instructions from here?

  http://www.proftpd.org/docs/howto/Testing.html


> gcc -g2 -O2 -Wall -fno-omit-frame-pointer -DHAVE_CONFIG_H -DLINUX  -I.. 
> -I../include -I../include   -c -o api/pool.o api/pool.c
> In file included from api/pool.c:27:0:
> api/tests.h:36:3: error: #error "Missing Check installation; necessary 
> for ProFTPD testsuite"
>   # error "Missing Check installation; necessary for ProFTPD testsuite"
>     ^

This error indicates that you are missing the libcheck library; that is the C library used for the unit tests.

Cheers,
TJ

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.