fix distcheck pathing, cyassl-config distclean

This commit is contained in:
toddouska 2012-12-06 10:01:01 -08:00
parent 5ecca5a89d
commit da8eba2603
2 changed files with 7 additions and 0 deletions

View File

@ -60,6 +60,8 @@ endif
TESTS += $(check_PROGRAMS)
test: check
DISTCLEANFILES+= cyassl-config
maintainer-clean-local:
-rm Makefile.in
-rm aclocal.m4

View File

@ -19,6 +19,11 @@ int main(int argc, char** argv)
(void)argv;
printf("starting unit tests...\n");
if (CurrentDir("tests"))
ChangeDirBack(1);
else if (CurrentDir("build"))
ChangeDirBack(2);
if ( (ret = ApiTest()) != 0) {
printf("api test failed with %d\n", ret);
return ret;