integrate test for #5777 into build, expected to fail for now

This commit is contained in:
Christian Grothoff 2019-07-15 20:55:11 +02:00
parent c1f6115867
commit a497ccffb6
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 23 additions and 4 deletions

View File

@ -160,6 +160,7 @@ check_PROGRAMS = \
test_exchange_api_keys_cherry_picking \
test_exchange_api_overlapping_keys_bug \
test_exchange_api \
test_exchange_api_revocation \
test_auditor_api_version \
test_auditor_api
@ -190,6 +191,10 @@ AM_TESTS_ENVIRONMENT=export TALER_PREFIX=$${TALER_PREFIX:-@libdir@};export PATH=
TESTS = \
$(check_PROGRAMS)
# expected to fail for now: test incomplete, feature not implemented!
XFAIL_TESTS = \
test_exchange_api_revocation
test_exchange_api_SOURCES = \
test_exchange_api.c
test_exchange_api_LDADD = \
@ -204,6 +209,20 @@ test_exchange_api_LDADD = \
-lgnunetutil \
-ljansson
test_exchange_api_revocation_SOURCES = \
test_exchange_api_revocation.c
test_exchange_api_revocation_LDADD = \
libtalertesting.la \
libtalerexchange.la \
$(LIBGCRYPT_LIBS) \
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
$(top_builddir)/src/bank-lib/libtalerbank.la \
$(top_builddir)/src/json/libtalerjson.la \
$(top_builddir)/src/util/libtalerutil.la \
-lgnunetcurl \
-lgnunetutil \
-ljansson
test_exchange_api_overlapping_keys_bug_SOURCES = \
test_exchange_api_overlapping_keys_bug.c
test_exchange_api_overlapping_keys_bug_LDADD = \

View File

@ -1,6 +1,6 @@
/*
This file is part of TALER
Copyright (C) 2014-2018 Taler Systems SA
Copyright (C) 2014--2019 Taler Systems SA
TALER is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as
@ -958,7 +958,7 @@ main (int argc,
/* These environment variables get in the way... */
unsetenv ("XDG_DATA_HOME");
unsetenv ("XDG_CONFIG_HOME");
GNUNET_log_setup ("test-exchange-api-new",
GNUNET_log_setup ("test-exchange-api",
"INFO",
NULL);
if (NULL == (fakebank_url
@ -973,7 +973,7 @@ main (int argc,
* if it's available. */
switch (TALER_TESTING_prepare_exchange (CONFIG_FILE,
&auditor_url,
&exchange_url))
&exchange_url))
{
case GNUNET_SYSERR:
GNUNET_break (0);
@ -998,4 +998,4 @@ main (int argc,
return 0;
}
/* end of test_exchange_api_new.c */
/* end of test_exchange_api.c */