tests writes to log file instead of stdout
[idzebra-moved-to-github.git] / test / gils / Makefile.am
index f086103..296e2ce 100644 (file)
@@ -1,15 +1,20 @@
-
+# $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
+
+check_SCRIPTS = stop01.sh stop02.sh stop03.sh stop04.sh \
+        test1.sh test2.sh timing1.sh timing2.sh
 
-EXTRA_DIST = $(TESTS) zebra1.cfg zebra2.cfg
+TESTS = stop01.sh stop02.sh $(testscripts_thread) stop04.sh \
+        test1.sh test2.sh timing1.sh timing2.sh
 
-# FIXME:
-# test02.sh fails
-# test03.sh fails with a segfault
+EXTRA_DIST = zebra1.cfg zebra2.cfg $(check_SCRIPTS)