gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-sync] branch master updated: ign


From: gnunet
Subject: [taler-sync] branch master updated: ign
Date: Mon, 25 Nov 2019 15:53:41 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository sync.

The following commit(s) were added to refs/heads/master by this push:
     new cbd5fbd  ign
cbd5fbd is described below

commit cbd5fbd796b18916ea032021661397369fbcbd22
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Nov 25 15:53:39 2019 +0100

    ign
---
 src/lib/.gitignore         |  1 +
 src/lib/Makefile.am        | 24 ++++++++++++++++++++++++
 src/lib/test_sync_api.c    |  1 +
 src/lib/test_sync_api.conf |  9 +++++++++
 4 files changed, 35 insertions(+)

diff --git a/src/lib/.gitignore b/src/lib/.gitignore
new file mode 100644
index 0000000..998875a
--- /dev/null
+++ b/src/lib/.gitignore
@@ -0,0 +1 @@
+test_sync_api
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index 1462eb5..fa160a6 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -45,6 +45,30 @@ libsynctesting_la_LIBADD = \
   -ltalertesting \
   $(XLIB)
 
+check_PROGRAMS = \
+  test_sync_api
+
+TESTS = \
+  $(check_PROGRAMS)
+
+test_sync_api_SOURCES = \
+  test_sync_api.c
+test_sync_api_LDADD = \
+  libsync.la \
+  libsynctesting.la \
+  -ltalertesting \
+  -ltalermerchanttesting \
+  -ltalerfakebank \
+  -ltalerbank \
+  -ltalerexchange \
+  -ltalermerchant \
+  -ltalerjson \
+  -ltalerutil \
+  -lgnunetjson \
+  -lgnunetcurl \
+  -lgnunetutil \
+  -ljansson
+
 if HAVE_LIBCURL
 libsync_la_LIBADD += -lcurl
 else
diff --git a/src/lib/test_sync_api.c b/src/lib/test_sync_api.c
index 854e7b1..3403127 100644
--- a/src/lib/test_sync_api.c
+++ b/src/lib/test_sync_api.c
@@ -31,6 +31,7 @@
 #include <taler/taler_bank_service.h>
 #include <taler/taler_fakebank_lib.h>
 #include <taler/taler_testing_lib.h>
+#include <taler/taler_merchant_testing_lib.h>
 #include <taler/taler_error_codes.h>
 #include "sync_service.h"
 #include "sync_testing_lib.h"
diff --git a/src/lib/test_sync_api.conf b/src/lib/test_sync_api.conf
index c8e206e..057420d 100644
--- a/src/lib/test_sync_api.conf
+++ b/src/lib/test_sync_api.conf
@@ -9,6 +9,15 @@ TALER_TEST_HOME = test_sync_api_home/
 # What currency do we use?
 CURRENCY = EUR
 
+# Sync config
+
+[sync]
+# Which port do we run the backend on? (HTTP server)
+PORT = 8084
+
+[syncdb-postgres]
+CONFIG = postgres:///synccheck
+
 ##########################################
 # Configuration for the merchant backend #
 ##########################################

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]