This commit is contained in:
toddouska
2011-12-14 10:02:05 -08:00
parent 08bd1c94bf
commit 9cdc6f8f5e
3 changed files with 6 additions and 0 deletions

View File

@ -12,3 +12,4 @@ tests_unit_SOURCES = \
tests_unit_CFLAGS = $(AM_CFLAGS)
tests_unit_LDADD = src/libcyassl.la
tests_unit_DEPENDENCIES = src/libcyassl.la
EXTRA_DIST+=tests/unit.h

View File

@ -1,9 +1,13 @@
/* unit.c unit tests driver */
#include <stdio.h>
#include "unit.h"
int main(int argc, char** argv)
{
printf("hello unit tests\n");
if (ApiTest() != 0)
printf("api test failed\n");
return 0;
}

View File

@ -2,4 +2,5 @@
int ApiTest(void);
int SuiteTest(void);
int HashTest(void);