From a1d4aa2ca5b8e800905eeec213e35ea1f3fdd395 Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Tue, 20 Sep 2011 01:03:08 +0200
Subject: [PATCH] Make test-gradient-method into a test program

---
 src/Makefile.am | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index db4334ce..0eba1530 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,7 +1,7 @@
 
 SUBDIRS =
 
-noinst_PROGRAMS = \
+check_PROGRAMS = \
 	test-gradient-method
 
 test_gradient_method_SOURCES = \
@@ -10,8 +10,7 @@ test_gradient_method_SOURCES = \
 	nicefunction.hh \
 	samplefunctional.hh
 
-check-am:
-	./test-gradient-method
+TESTS= test-gradient-method
 
 AM_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter
 
-- 
GitLab