unittest in main Makefile
authorvb
Sun, 08 Feb 2015 15:18:48 -0500
changeset 550569864cb34e
parent 54 8f6b3a6b77a8
child 56 eb39f8399076
unittest in main Makefile
Makefile
src/platform_windows.cpp
     1.1 --- a/Makefile	Sun Feb 08 14:51:02 2015 -0500
     1.2 +++ b/Makefile	Sun Feb 08 15:18:48 2015 -0500
     1.3 @@ -18,6 +18,9 @@
     1.4  test: all
     1.5  	$(MAKE) -C test test
     1.6  
     1.7 +unittest: all
     1.8 +	$(MAKE) -C test unittest
     1.9 +
    1.10  package: clean
    1.11  	cd .. ; COPYFILE_DISABLE=true tar cjf pEpEngine.tar.bz2 pEpEngine
    1.12  
     2.1 --- a/src/platform_windows.cpp	Sun Feb 08 14:51:02 2015 -0500
     2.2 +++ b/src/platform_windows.cpp	Sun Feb 08 15:18:48 2015 -0500
     2.3 @@ -166,21 +166,21 @@
     2.4  	return (void *) (intptr_t) GetProcAddress((HMODULE) handle, symbol);
     2.5  }
     2.6  
     2.7 -const char *windoze_local_db() {
     2.8 +const char *windoze_local_db(void) {
     2.9  	static string path;
    2.10  	if (path.length() == 0)
    2.11          path = managementPath("%LOCALAPPDATA%\\pEp", "management.db");
    2.12      return path.c_str();
    2.13  }
    2.14  
    2.15 -const char *windoze_system_db() {
    2.16 +const char *windoze_system_db(void) {
    2.17  	static string path;
    2.18  	if (path.length() == 0)
    2.19  		path = managementPath("%ALLUSERSPROFILE%\\pEp", "system.db");
    2.20      return path.c_str();
    2.21  }
    2.22  
    2.23 -const char *gpg_conf()
    2.24 +const char *gpg_conf(void)
    2.25  {
    2.26      static string path;
    2.27      if (path.length() == 0)