From 656ec29d5e30f4020046b2126254dda22dd5bc25 Mon Sep 17 00:00:00 2001 From: Joseph Date: Tue, 15 Nov 2022 05:46:26 -0500 Subject: new test --- src/exchangedb/Makefile.am | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'src/exchangedb/Makefile.am') diff --git a/src/exchangedb/Makefile.am b/src/exchangedb/Makefile.am index ac300a9c2..4d892efef 100644 --- a/src/exchangedb/Makefile.am +++ b/src/exchangedb/Makefile.am @@ -274,12 +274,12 @@ libtalerexchangedb_la_LDFLAGS = \ check_PROGRAMS = \ test-exchangedb-postgres \ - bench-db-postgres - + bench-db-postgres\ + test-exchangedb-by-j-postgres AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=$${TALER_PREFIX:-@prefix@}/bin:$$PATH; TESTS = \ - test-exchangedb-postgres - + test-exchangedb-postgres\ + test-exchangedb-by-j-postgres test_exchangedb_postgres_SOURCES = \ test_exchangedb.c test_exchangedb_postgres_LDADD = \ @@ -292,6 +292,18 @@ test_exchangedb_postgres_LDADD = \ -lgnunetutil \ $(XLIB) +test_exchangedb_by_j_postgres_SOURCES = \ + test_exchangedb_by_j.c +test_exchangedb_by_j_postgres_LDADD = \ + libtalerexchangedb.la \ + $(top_builddir)/src/json/libtalerjson.la \ + $(top_builddir)/src/util/libtalerutil.la \ + $(top_builddir)/src/pq/libtalerpq.la \ + -ljansson \ + -lgnunetjson \ + -lgnunetutil \ + $(XLIB) + bench_db_postgres_SOURCES = \ bench_db.c bench_db_postgres_LDADD = \ -- cgit v1.2.3