CI: added sync test with memory leak detection

This commit is contained in:
SChernykh
2023-07-19 13:13:00 +02:00
parent 75cc82ae0c
commit 0f88640575
7 changed files with 68 additions and 12 deletions

View File

@@ -81,9 +81,6 @@ void p2pool_version()
printf("P2Pool %s\n", p2pool::VERSION);
}
void memory_tracking_start();
void memory_tracking_stop();
int main(int argc, char* argv[])
{
if (argc == 1) {
@@ -124,7 +121,9 @@ int main(int argc, char* argv[])
p2pool::destroy_crypto_cache();
memory_tracking_stop();
if (!memory_tracking_stop()) {
result = 1;
}
return result;
}