unit tests configure
This commit is contained in:
parent
8d514b23b6
commit
9307d4a40d
1
.gitignore
vendored
1
.gitignore
vendored
@ -31,6 +31,7 @@ examples/server/server
|
|||||||
snifftest
|
snifftest
|
||||||
output
|
output
|
||||||
testsuite/testsuite
|
testsuite/testsuite
|
||||||
|
tests/unit
|
||||||
testsuite/*.der
|
testsuite/*.der
|
||||||
testsuite/*.pem
|
testsuite/*.pem
|
||||||
testsuite/*.raw
|
testsuite/*.raw
|
||||||
|
@ -51,6 +51,7 @@ include examples/server/include.am
|
|||||||
include examples/echoclient/include.am
|
include examples/echoclient/include.am
|
||||||
include examples/echoserver/include.am
|
include examples/echoserver/include.am
|
||||||
include testsuite/include.am
|
include testsuite/include.am
|
||||||
|
include tests/include.am
|
||||||
include sslSniffer/sslSnifferTest/include.am
|
include sslSniffer/sslSnifferTest/include.am
|
||||||
|
|
||||||
TESTS += $(check_PROGRAMS)
|
TESTS += $(check_PROGRAMS)
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
AC_INIT([cyassl],[2.0.3],[http://www.yassl.com])
|
AC_INIT([cyassl],[2.0.4],[http://www.yassl.com])
|
||||||
|
|
||||||
AC_CONFIG_AUX_DIR(config)
|
AC_CONFIG_AUX_DIR(config)
|
||||||
|
|
||||||
|
14
tests/include.am
Normal file
14
tests/include.am
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# vim:ft=automake
|
||||||
|
# included from Top Level Makefile.am
|
||||||
|
# All paths should be given relative to the root
|
||||||
|
|
||||||
|
|
||||||
|
check_PROGRAMS += tests/unit
|
||||||
|
noinst_PROGRAMS += tests/unit
|
||||||
|
tests_unit_SOURCES = \
|
||||||
|
tests/unit.c \
|
||||||
|
tests/api.c \
|
||||||
|
tests/suites.c
|
||||||
|
tests_unit_CFLAGS = $(AM_CFLAGS)
|
||||||
|
tests_unit_LDADD = src/libcyassl.la
|
||||||
|
tests_unit_DEPENDENCIES = src/libcyassl.la
|
9
tests/unit.c
Normal file
9
tests/unit.c
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
/* unit.c unit tests driver */
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main(int argc, char** argv)
|
||||||
|
{
|
||||||
|
printf("hello unit tests\n");
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user