Makefile updates for Automake 1.5+. Test script updates
[idzebra-moved-to-github.git] / test / gils / Makefile.am
index c6dcd41..296e2ce 100644 (file)
@@ -1,11 +1,20 @@
-# $Id: Makefile.am,v 1.14 2003-05-20 13:52:41 adam Exp $
+# $Id: Makefile.am,v 1.15 2003-05-21 14:39:22 adam Exp $
 
 dist-hook:
        -mkdir $(distdir)/records
        cp $(srcdir)/records/*.grs $(distdir)/records
 
-TESTS = stop01.sh stop02.sh stop03.sh stop04.sh \
-        test1.sh test2.sh \
-       timing1.sh timing2.sh
+# stop03.sh only works when Zebra is using threads.
+if ISTHR
+testscripts_thread = stop03.sh
+else
+testscripts_thread = 
+endif
 
-EXTRA_DIST = $(TESTS) zebra1.cfg zebra2.cfg
+check_SCRIPTS = stop01.sh stop02.sh stop03.sh stop04.sh \
+        test1.sh test2.sh timing1.sh timing2.sh
+
+TESTS = stop01.sh stop02.sh $(testscripts_thread) stop04.sh \
+        test1.sh test2.sh timing1.sh timing2.sh
+
+EXTRA_DIST = zebra1.cfg zebra2.cfg $(check_SCRIPTS)