diff --git a/tests/include.am b/tests/include.am index 19d107240..ea35063b1 100644 --- a/tests/include.am +++ b/tests/include.am @@ -8,7 +8,8 @@ noinst_PROGRAMS += tests/unit tests_unit_SOURCES = \ tests/unit.c \ tests/api.c \ - tests/suites.c + tests/suites.c \ + tests/hash.c tests_unit_CFLAGS = $(AM_CFLAGS) tests_unit_LDADD = src/libcyassl.la tests_unit_DEPENDENCIES = src/libcyassl.la diff --git a/tests/unit.c b/tests/unit.c index 42f5377a7..0d81f113d 100644 --- a/tests/unit.c +++ b/tests/unit.c @@ -9,5 +9,8 @@ int main(int argc, char** argv) if (ApiTest() != 0) printf("api test failed\n"); + if (HashTest() != 0) + printf("hash test failed\n"); + return 0; }