- fix coverity
[oweals/gnunet.git] / src / scalarproduct / Makefile.am
index c09e38393083d2b03f175cf706637699e31ef034..e2487d9f3821333da8544ed533c013806b257976 100644 (file)
@@ -102,7 +102,17 @@ check_SCRIPTS = \
   test_scalarproduct_negative.sh \
   test_scalarproduct_negativezero.sh
 
+check_PROGRAMS = \
+  test_ecc_scalarproduct
+
 if ENABLE_TEST_RUN
   AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
-  TESTS = $(check_SCRIPTS)
+  TESTS = $(check_SCRIPTS) $(check_PROGRAMS)
 endif
+
+
+test_ecc_scalarproduct_SOURCES = \
+ test_ecc_scalarproduct.c
+test_ecc_scalarproduct_LDADD = \
+  $(top_builddir)/src/util/libgnunetutil.la \
+  -lgcrypt