aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mintdb/Makefile.am2
-rw-r--r--src/mintdb/test_perf_taler_mintdb.c10
2 files changed, 6 insertions, 6 deletions
diff --git a/src/mintdb/Makefile.am b/src/mintdb/Makefile.am
index 82722bd54..d9cc8b855 100644
--- a/src/mintdb/Makefile.am
+++ b/src/mintdb/Makefile.am
@@ -83,7 +83,7 @@ test_mintdb_postgres_LDADD = \
-lgnunetutil -ljansson
test_perf_taler_mintdb_SOURCES = \
- test_perf_taler_mintdb.c \
+ test_perf_taler_mintdb.c \
perf_taler_mintdb_init.c \
perf_taler_mintdb_interpreter.c
test_perf_taler_mintdb_LDADD = \
diff --git a/src/mintdb/test_perf_taler_mintdb.c b/src/mintdb/test_perf_taler_mintdb.c
index 4397bc71b..2830ef812 100644
--- a/src/mintdb/test_perf_taler_mintdb.c
+++ b/src/mintdb/test_perf_taler_mintdb.c
@@ -14,7 +14,7 @@
TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/>
*/
/**
- * @file mintdb/perf_taler_mintdb.c
+ * @file mintdb/test_perf_taler_mintdb.c
* @brief Mint database performance analysis
* @author Nicolas Fournier
*/
@@ -39,8 +39,8 @@
* Allocate, copies and free all the data used in the interpreter
* Used to check for memory leaks
*/
-void
-test_alocate ()
+static void
+test_allocate ()
{
struct TALER_MINTDB_DenominationKeyIssueInformation *dki, *dki_copy;
struct PERF_TALER_MINTDB_Reserve *reserve, *reserve_copy;
@@ -171,8 +171,8 @@ main (int argc, char ** argv)
PERF_TALER_MINTDB_INIT_CMD_END ("end"),
};
- test_alocate ();
- ret = PERF_TALER_MINTDB_run_benchmark ("perf-taler-mintdb",
+ test_allocate ();
+ ret = PERF_TALER_MINTDB_run_benchmark ("test-perf-taler-mintdb",
"./test-mint-db-postgres.conf",
init,
benchmark);