polyparam.c: find_m_faces: collect rays of unbounded parametric polyhedra
[polylib.git] / Test / pp / Makefile.am
blob32c971585f147e2300751895d86574b41ebc0bf8
2 # $Id: Makefile.am,v 1.2 2005/10/20 11:35:25 verdoolaege Exp $
5 OBJ_DIR = $(top_builddir)
7 PP =  \
8         c6.in \
9         c7.in \
10         salvatore.in \
11         salvatore_new1.in \
12         salvatore_new2.in \
13         xavi.in \
14         ray1.in \
15         ray2.in \
16         ray3.in
18 #       c5.in \
19 #       c4.in \
20 #       c9.in
21 #       c10.in
23 EXTRA_DIST = $(PP) \
24         $(PP:%.in=%.out) 
26 tests:
27         @failedtest=0; \
28         for x in $(PP) ; do \
29                 echo "Verify file $$x"; \
30                 $(OBJ_DIR)/pp$(TEST_BITS) < $(srcdir)/$$x > xyz;\
31                 diff -w xyz $(srcdir)/`basename $$x .in`.out ; \
32                 result=$$?; \
33                 if [ "$$result" -eq "1" ]; then \
34                         echo "Error: $$x is not the same"; \
35                         failedtest=`expr $$failedtest + 1`; \
36                 else \
37                         echo "$$x passed"; \
38                 fi; \
39         done ; \
40         if [ $$failedtest != 0 ]; then \
41                 echo "$$failedtest tests failed"; \
42         else \
43                 echo "Test pp works correctly"; \
44         fi