diff options
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | nad/Makefile.am | 4 | ||||
| -rw-r--r-- | nad/Makefile.in | 5 | ||||
| -rwxr-xr-x | nad/test27 | 2 | ||||
| -rwxr-xr-x | nad/test83 | 2 | ||||
| -rwxr-xr-x | nad/testvarious | 2 |
6 files changed, 19 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2006-10-01 Frank Warmerdam <warmerdam@pobox.com> + + * nad/Makefile.am: added test target. + 2006-09-23 Frank Warmerdam <warmerdam@pobox.com> * nad/epsg: upgraded to EPSG 6.11 diff --git a/nad/Makefile.am b/nad/Makefile.am index 6003b607..00f65136 100644 --- a/nad/Makefile.am +++ b/nad/Makefile.am @@ -29,3 +29,7 @@ install-data-local: done +test: + ./test27 + ./test83 + ./testvarious diff --git a/nad/Makefile.in b/nad/Makefile.in index cf801d50..638788c5 100644 --- a/nad/Makefile.in +++ b/nad/Makefile.in @@ -368,6 +368,11 @@ install-data-local: $(INSTALL_DATA) $$gridfile $(DESTDIR)$(pkgdatadir)/$$gridfile; \ fi; \ done + +test: + ./test27 + ./test83 + ./testvarious # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: @@ -816,8 +816,10 @@ if [ $? -ne 0 ] ; then echo "" echo "PROBLEMS HAVE OCCURED" echo "test file ${OUT} saved" + exit 100 else echo "TEST OK" echo "test file ${OUT} removed" /bin/rm -f ${OUT} + exit 0 fi @@ -696,8 +696,10 @@ if [ $? -ne 0 ] ; then echo "" echo "PROBLEMS HAVE OCCURED" echo "test file ${OUT} saved" + exit 100 else echo "TEST OK" echo "test file ${OUT} removed" /bin/rm -f ${OUT} + exit 0 fi diff --git a/nad/testvarious b/nad/testvarious index 8af592d6..53d36cc5 100755 --- a/nad/testvarious +++ b/nad/testvarious @@ -150,8 +150,10 @@ if [ $? -ne 0 ] ; then echo "" echo "PROBLEMS HAVE OCCURED" echo "test file ${OUT} saved" + exit 100 else echo "TEST OK" echo "test file ${OUT} removed" /bin/rm -f ${OUT} + exit 0 fi |
