unittest in main Makefile

async_key_management
vb 8 years ago
parent 46a44263fe
commit d70a32af02

@ -18,6 +18,9 @@ clean:
test: all
$(MAKE) -C test test
unittest: all
$(MAKE) -C test unittest
package: clean
cd .. ; COPYFILE_DISABLE=true tar cjf pEpEngine.tar.bz2 pEpEngine

@ -166,21 +166,21 @@ void *dlsym(void *handle, const char *symbol) {
return (void *) (intptr_t) GetProcAddress((HMODULE) handle, symbol);
}
const char *windoze_local_db() {
const char *windoze_local_db(void) {
static string path;
if (path.length() == 0)
path = managementPath("%LOCALAPPDATA%\\pEp", "management.db");
return path.c_str();
}
const char *windoze_system_db() {
const char *windoze_system_db(void) {
static string path;
if (path.length() == 0)
path = managementPath("%ALLUSERSPROFILE%\\pEp", "system.db");
return path.c_str();
}
const char *gpg_conf()
const char *gpg_conf(void)
{
static string path;
if (path.length() == 0)

Loading…
Cancel
Save