OSSP CVS Repository

ossp - Difference in ossp-pkg/cfg/Makefile.in versions 1.3 and 1.4
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/cfg/Makefile.in 1.3 -> 1.4

--- Makefile.in  2002/08/02 19:07:12     1.3
+++ Makefile.in  2002/08/02 19:18:00     1.4
@@ -105,7 +105,15 @@
 #   running the test suite
 test: check
 check: $(TST_NAME)
-        @./$(TST_NAME) cfg_test.cfg
+        @$(SHTOOL) echo -e "%BParsing cfg_test.cfg:%b"; \
+        ./$(TST_NAME) cfg_test.cfg 2>&1 | tee cfg_test.try
+        -@diff -u3 cfg_test.out cfg_test.try >/dev/null 2>&1; \
+        if [ $$? -ne 0 ]; then \
+                $(SHTOOL) echo -e "%BATTENTION: Parsing Difference (cfg_test.cfg vs. cfg_test.out):%b"; \
+            diff -u3 cfg_test.out cfg_test.try; \
+        fi
+check-setup:
+        @./$(TST_NAME) cfg_test.cfg >cfg_test.out
 
 #   perform installation procedure
 install:
@@ -136,6 +144,7 @@
 clean:
         -$(RM) $(LIB_NAME) $(LIB_OBJS)
         -$(RM) $(TST_NAME) $(TST_OBJS)
+        -$(RM) cfg_test.try
         -$(RM) -r .libs >/dev/null 2>&1 || $(TRUE)
         -$(RM) *.o *.lo
 

CVSTrac 2.0.1