changeset 2278:380ee8551b73

Added script test.
author baghdadi <baghdadi>
date Fri, 28 Jul 2006 17:28:09 +0000
parents e34edaa583ed
children 2ba73dddbe55
files libsrc2/test/Makefile.am
diffstat 1 files changed, 15 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libsrc2/test/Makefile.am
+++ b/libsrc2/test/Makefile.am
@@ -1,10 +1,17 @@
 INCLUDES = -I$(top_srcdir)/libsrc2
 
+script_tests = \
+	testminctools.sh
+
+all-local:
+	cd $(srcdir) && chmod +x $(script_tests)
+
+
 LDADD = ../../libminc2.la
 
 AM_CFLAGS = -DAPPARENTORDER
 
-TESTS =	\
+ALL_TESTS =	\
 	create-test-images \
 	create-test-images-2 \
 	datatype-test \
@@ -22,7 +29,13 @@
 	convert-test \
 	vector_dimension-test 
 
-check_PROGRAMS = $(TESTS)
+TESTS = \
+	$(ALL_TESTS) \
+	$(script_tests)
+
+EXTRA_DIST = $(script_tests)
+
+check_PROGRAMS = $(ALL_TESTS)
 
 CLEANFILES = *.mnc