gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] 49/70: - init did test


From: gnunet
Subject: [gnunet] 49/70: - init did test
Date: Wed, 31 Aug 2022 18:00:43 +0200

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

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

commit a3af7211c33d6f54d3b72c37c1abe28dad89667f
Author: Tristan Schwieren <tristan.schwieren@tum.de>
AuthorDate: Wed May 25 14:07:03 2022 +0200

    - init did test
---
 src/reclaim/Makefile.am       | 12 ++++++++++--
 src/reclaim/test_did_helper.c | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+), 2 deletions(-)

diff --git a/src/reclaim/Makefile.am b/src/reclaim/Makefile.am
index 7b73f35f2..912f4a92f 100644
--- a/src/reclaim/Makefile.am
+++ b/src/reclaim/Makefile.am
@@ -206,6 +206,11 @@ test_w3c_ed25519_2020_SOURCES = \
 test_w3c_ed25519_2020_LDADD = \
   $(top_builddir)/src/util/libgnunetutil.la
 
+test_did_helper_SOURCES = \
+  test_did_helper.c
+test_did_helper_LDADD = \
+  $(top_builddir)/src/util/libgnunetutil.la
+
 check_SCRIPTS = \
   test_reclaim_attribute.sh \
   test_reclaim_issue.sh \
@@ -213,9 +218,12 @@ check_SCRIPTS = \
 
 check_PROGRAMS = \
   test_reclaim_attribute \
-  test_w3c_ed25519_2020
+  test_w3c_ed25519_2020 \
+  test_did_helper
 
 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 = $(check_SCRIPTS)
+ TESTS = \ 
+  $(check_SCRIPTS) \
+  $(check_PROGRAMS)
 endif
diff --git a/src/reclaim/test_did_helper.c b/src/reclaim/test_did_helper.c
new file mode 100644
index 000000000..2c3ce0dce
--- /dev/null
+++ b/src/reclaim/test_did_helper.c
@@ -0,0 +1,35 @@
+/*
+   This file is part of GNUnet
+   Copyright (C) 2010-2015 GNUnet e.V.
+
+   GNUnet is free software: you can redistribute it and/or modify it
+   under the terms of the GNU Affero General Public License as published
+   by the Free Software Foundation, either version 3 of the License,
+   or (at your option) any later version.
+
+   GNUnet is distributed in the hope that it will be useful, but
+   WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Affero General Public License for more details.
+
+   You should have received a copy of the GNU Affero General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+   SPDX-License-Identifier: AGPL3.0-or-later
+ */
+
+/**
+ * @file reclaim/test_did_helper.c
+ * @brief Unit tests for the helper library for DID related functions
+ * @author Tristan Schwieren
+ */
+
+#include "platform.h"
+#include "gnunet_common.h"
+
+int
+main()
+{
+    GNUNET_assert(0 == 1);
+    return 0;
+}
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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