From e5d31aa52e4983bffce3eca6ca601bbb8f4a302a Mon Sep 17 00:00:00 2001 From: t3sserakt Date: Thu, 4 Mar 2021 10:41:01 +0100 Subject: - first try to integrate GNU Taler command style testing --- src/testing/Makefile.am | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'src/testing/Makefile.am') diff --git a/src/testing/Makefile.am b/src/testing/Makefile.am index 2b599f55b..f7aa1f896 100644 --- a/src/testing/Makefile.am +++ b/src/testing/Makefile.am @@ -15,7 +15,14 @@ lib_LTLIBRARIES = \ libgnunettesting.la libgnunettesting_la_SOURCES = \ - testing.c + testing.c \ + testing_api_cmd_batch.c \ + testing_api_cmd_hello_world.c \ + testing_api_cmd_hello_world_birth.c \ + testing_api_loop.c \ + testing_api_trait_cmd.c \ + testing_api_trait_process.c \ + testing_api_traits.c libgnunettesting_la_LIBADD = \ $(top_builddir)/src/arm/libgnunetarm.la \ $(top_builddir)/src/util/libgnunetutil.la \ @@ -48,8 +55,10 @@ list_keys_LDADD = \ check_PROGRAMS = \ + test_testing_hello_world \ test_testing_portreservation \ test_testing_servicestartup \ + test_testing_ng_peerstartup \ test_testing_peerstartup \ test_testing_peerstartup2 \ test_testing_sharedservices @@ -57,18 +66,32 @@ check_PROGRAMS = \ if ENABLE_TEST_RUN AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; TESTS = \ + test_testing_hello_world \ test_testing_portreservation \ + test_testing_ng_peerstartup \ test_testing_peerstartup \ test_testing_peerstartup2 \ test_testing_servicestartup endif +test_testing_helloworld_SOURCES = \ + test_testing_hello_world +test_testing_portreservation_LDADD = \ + libgnunettesting.la \ + $(top_builddir)/src/util/libgnunetutil.la + test_testing_portreservation_SOURCES = \ test_testing_portreservation.c test_testing_portreservation_LDADD = \ libgnunettesting.la \ $(top_builddir)/src/util/libgnunetutil.la +test_testing_ng_peerstartup_SOURCES = \ + test_testing_ng_peerstartup.c +test_testing_ng_peerstartup_LDADD = \ + libgnunettesting.la \ + $(top_builddir)/src/util/libgnunetutil.la + test_testing_peerstartup_SOURCES = \ test_testing_peerstartup.c test_testing_peerstartup_LDADD = \ -- cgit v1.2.3