[Unit-tests] Fix previously defined AM_* in tests.

This commit is contained in:
s3rj1k
2021-02-23 20:59:26 +03:00
committed by GitHub
parent 3556119fde
commit 91f12b5920
12 changed files with 30 additions and 54 deletions
+1 -5
View File
@@ -1,4 +1,3 @@
#include <stdio.h>
#include <switch.h>
#include <test/switch_test.h>
@@ -20,9 +19,6 @@ FST_TEARDOWN_END()
FST_TEST_BEGIN(benchmark)
{
switch_event_t *event = NULL;
switch_bool_t verbose = SWITCH_TRUE;
const char *err = NULL;
switch_time_t start_ts, end_ts;
uint64_t micro_total = 0;
double micro_per = 0;
@@ -33,7 +29,7 @@ FST_TEST_BEGIN(benchmark)
switch_time_t small_start_ts, small_end_ts;
#endif
int rc = 0, loops = 10;
int loops = 10;
switch_status_t status = SWITCH_STATUS_SUCCESS;
char **index = NULL;
switch_hash_t *hash = NULL;