2 # Copyright 2002 (c) Leiden University, LIACS,
5 # Permission is granted to copy, use, and distribute
6 # for any commercial or noncommercial purpose under the terms
7 # of the GNU Lesser General Public license, version 2.1, February 1999
8 # (see file : ../LICENSE).
10 # @author: Bart Kienhuis
11 # $Id: makefile,v 1.26 2002/09/26 13:03:53 kienhuis Exp $
13 # ndCed: useful line for names with their extensions:
14 # diff -w xyz `basename $$x .dat`.ll ;
16 # pbs with boulet bouleti and dirk
62 @echo " /*-----------------------------------------------*"
63 @echo " * Generate files *"
64 @echo " *-----------------------------------------------*/"
65 for x in $(PIPTEST) ; do \
66 echo "Generate $(srcdir)/$$x.ll" ; \
67 $(top_builddir)/pip64$(EXEEXT) $(srcdir)/$$x.dat $(srcdir)/$$x.ll ; \
71 @echo " /*-----------------------------------------------*"
72 @echo " * Testing PIP *"
73 @echo " *-----------------------------------------------*/"
75 for x in $(PIPTEST) ; do \
76 echo "Verify file $$x" ; \
77 $(top_builddir)/$(PIP) -s $(srcdir)/$$x.dat > xyz; \
78 diff -w xyz $(srcdir)/$$x.ll ; \
80 if [ "$$result" -ne "0" ]; then \
81 echo "Error: $$x is not the same"; \
82 failedtest=`expr $$failedtest + 1`; \
88 if [ $$failedtest != 0 ]; then \
89 echo "$$failedtest tests failed"; \
91 echo "PIP works correctly :-)"; \