regression testing... sort of
authorphil <none@none>
Fri, 29 Jan 1999 09:54:10 +0000 (09:54 +0000)
committerphil <none@none>
Fri, 29 Jan 1999 09:54:10 +0000 (09:54 +0000)
tests/Makefile.am [new file with mode: 0644]
tests/Makefile.in [new file with mode: 0644]
tests/x.output [new file with mode: 0644]

diff --git a/tests/Makefile.am b/tests/Makefile.am
new file mode 100644 (file)
index 0000000..68be5cc
--- /dev/null
@@ -0,0 +1,10 @@
+EXTRA_DIST = x.java x.output
+
+check: 
+       ../cacao -ieee sun.tools.javac.Main x.java
+       ../cacao x >x.thisoutput
+       @if test "`diff --brief x.thisoutput x.output`" = ""; then \
+               echo "*** Test completed successfully"; \
+       else \
+               echo "*** Test failed"; fi;
+       @rm -f x.thisoutput
diff --git a/tests/Makefile.in b/tests/Makefile.in
new file mode 100644 (file)
index 0000000..49aa1e8
--- /dev/null
@@ -0,0 +1,185 @@
+# Makefile.in generated automatically by automake 1.4 from Makefile.am
+
+# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+SHELL = @SHELL@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+
+bindir = @bindir@
+sbindir = @sbindir@
+libexecdir = @libexecdir@
+datadir = @datadir@
+sysconfdir = @sysconfdir@
+sharedstatedir = @sharedstatedir@
+localstatedir = @localstatedir@
+libdir = @libdir@
+infodir = @infodir@
+mandir = @mandir@
+includedir = @includedir@
+oldincludedir = /usr/include
+
+DESTDIR =
+
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+
+top_builddir = ..
+
+ACLOCAL = @ACLOCAL@
+AUTOCONF = @AUTOCONF@
+AUTOMAKE = @AUTOMAKE@
+AUTOHEADER = @AUTOHEADER@
+
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+transform = @program_transform_name@
+
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+host_alias = @host_alias@
+host_triplet = @host@
+CC = @CC@
+COMPILER_OBJECTS = @COMPILER_OBJECTS@
+COMPILER_SOURCES = @COMPILER_SOURCES@
+GC_OBJ = @GC_OBJ@
+LIBTHREAD = @LIBTHREAD@
+MAKEINFO = @MAKEINFO@
+PACKAGE = @PACKAGE@
+RANLIB = @RANLIB@
+SYSDEP_DIR = @SYSDEP_DIR@
+THREAD_OBJ = @THREAD_OBJ@
+VERSION = @VERSION@
+
+EXTRA_DIST = x.java x.output
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = ../config.h
+CONFIG_CLEAN_FILES = 
+DIST_COMMON =  Makefile.am Makefile.in
+
+
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
+
+TAR = tar
+GZIP_ENV = --best
+all: all-redirect
+.SUFFIXES:
+$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
+       cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps tst/Makefile
+
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
+       cd $(top_builddir) \
+         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+tags: TAGS
+TAGS:
+
+
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
+
+subdir = tst
+
+distdir: $(DISTFILES)
+       @for file in $(DISTFILES); do \
+         d=$(srcdir); \
+         if test -d $$d/$$file; then \
+           cp -pr $$/$$file $(distdir)/$$file; \
+         else \
+           test -f $(distdir)/$$file \
+           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
+           || cp -p $$d/$$file $(distdir)/$$file || :; \
+         fi; \
+       done
+info-am:
+info: info-am
+dvi-am:
+dvi: dvi-am
+check-am: all-am
+check: check-am
+installcheck-am:
+installcheck: installcheck-am
+install-exec-am:
+install-exec: install-exec-am
+
+install-data-am:
+install-data: install-data-am
+
+install-am: all-am
+       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+install: install-am
+uninstall-am:
+uninstall: uninstall-am
+all-am: Makefile
+all-redirect: all-am
+install-strip:
+       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+installdirs:
+
+
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+       -rm -f Makefile $(CONFIG_CLEAN_FILES)
+       -rm -f config.cache config.log stamp-h stamp-h[0-9]*
+
+maintainer-clean-generic:
+mostlyclean-am:  mostlyclean-generic
+
+mostlyclean: mostlyclean-am
+
+clean-am:  clean-generic mostlyclean-am
+
+clean: clean-am
+
+distclean-am:  distclean-generic clean-am
+
+distclean: distclean-am
+
+maintainer-clean-am:  maintainer-clean-generic distclean-am
+       @echo "This command is intended for maintainers to use;"
+       @echo "it deletes files that may require special tools to rebuild."
+
+maintainer-clean: maintainer-clean-am
+
+.PHONY: tags distdir info-am info dvi-am dvi check check-am \
+installcheck-am installcheck install-exec-am install-exec \
+install-data-am install-data install-am install uninstall-am uninstall \
+all-redirect all-am all installdirs mostlyclean-generic \
+distclean-generic clean-generic maintainer-clean-generic clean \
+mostlyclean distclean maintainer-clean
+
+
+check: 
+       ../cacao -ieee sun.tools.javac.Main x.java
+       ../cacao x >x.thisoutput
+       @if test "`diff --brief x.thisoutput x.output`" = ""; then \
+               echo "*** Test completed successfully"; \
+       else \
+               echo "*** Test failed"; fi;
+       @rm -f x.thisoutput
+
+# 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:
diff --git a/tests/x.output b/tests/x.output
new file mode 100644 (file)
index 0000000..561defa
--- /dev/null
@@ -0,0 +1,94 @@
+Ausgabe startet
+Feld angelegt
+------------------------------------------------------
+                                                             ;        
+                                                             )        
+                                                                      
+                                                             )        
+                                                             s        
+                                                             r        
+                                                             e        
+                                                 ;          ;t        
+                                                 )          )t        
+                                                 "          "e        
+                                                 -          -l        
+                                                 -          -(        
+                                                 -          -g        
+                                                 -          -n        
+                                                 -          -i        
+                                                 -          -r        
+                                                 -          -t        
+                                                 -          -S        
+                                                 -          -o        
+                                                 -          -t        
+                                                 -          -.        
+                                                 -          -r        
+                                                 -          -e        
+                                                 -          -g        
+                                                 -          -e        
+                                                 -          -t        
+               ;                                 -          -n        
+               )       )                         -          -I        
+               "       +                         -          -         
+         s     a       +                         -          -+        
+         w     v       c                         -          -         
+         o     a                                 -          -"        
+         r     j       ;                         -          -         
+         h     .       h           }             -   ;      -:        
+         t     x       t                         -   +      -t        
+               "       d           ;             -   +      -x        
+         )     (       i           )             -          -e        
+         v             w           4 {           -   s      -T        
+         g     m       x                         -   r      -         
+         r     a       a           * )   ;       -   e      -m        
+         a     e       m             t  ;1       -   t      -i        
+               r       <           ) h  1+       -   t      -         
+         ]     t       c           1 g  +l       -   e      -n        
+         [     S    ;                i  c=       -   l      -e        
+               t    ]  ;           + e  =t       -          -b        
+         g{    u    h  0             h  hh       -   )      -a        
+         n     p    t  =           4 x  tg       -          -t        
+         in    n    d  c        {  / a  di       -   '      -s        
+         ro    I    i  (           c m  ie       -          -h        
+         ti    e;   w           )} ( <  wh       -   '      -c        
+         St    lt ; x  r        1    l ;         -          -u        
+         .p    iu ) a  o        -; (   a )       -  {=      -B        
+       ; ge    Fo " m; f         +   &; )t       -   !      -         
+      ;0 nc     . t [)          =+ = &i=hh       - {)       -e        
+      00 ax    wm e ]" )        !l      tg       -  +)      -r        
+      02 lE    ee t tt +           c h)]di     ; - )+]      -a        
+      2  .O    nt r hg +        );   trcie     } - -lc ;    -b        
+    ;  = aI     s a ge l        )0 { da[wh       - - [ )    -k        
+    t =  v     =y t il          (=   ih]==     { - c;] i    -c        
+    x; t a,     S s ee ;        dc ) wcl>>       -  tl ( ;  -u        
+    eshh jn ;  t    hg t;       a  ' x([cl     ) - ;h[   )  -r        
+    trtg (o t  u= e xn h'       e{ t a t((     e - 0gt e (  -d        
+     edi ni h  p  b aa g        r  \ m=x         - =ix t    -b        
+    ]tie it g  nt a m  i'       .) ' < eff     e - >ee i n  -A        
+    [twh ap i  iu g [d e        t'   catii}    l " cht r l  ""        
+    ]exx me e   p s rl h=       un = (     ;   b (  <= w t  ((        
+    [laa  c h  mt u ae x        p\ =       +   a   ;la . n      ;     
+    r mm dx ,  au A hF a]       n'  {f     +   w n 1 (;t i  nn  )     
+    at   iE h  eo " c" mc       i  i i     c}  o l -; au r  ll  (     
+    hntt od t  r  (  ( <[ ;     == (e          r t h0( p p  tt  h     
+    cinn vn d  tm   w  l] 0 ;   i=  s          h n t= =t .  nn  s     
+      ii  u i  Sa n en  l  ;0   ( {fl          T i dlf u t  ii  u     
+ ;  cc   co w  te l nl ;[ =0  ;  i ie        } ( r i(iio}u  rr  l     
+ * {iicc iF ,  ur t  t 0t   = 0 ((e              p w     p  pp  f     
+ .  llii lt c; pt n  n =x s=  =   s            h . =r    t  ..  .     
+ o xbbtt bo ,a;nS i =i le r t c efl            c t co    u  tt  t     
+ i  uuaa uN l iIt r  r (t ehh  {lie           }t u (f    o} uu  u     
+ . spptt pe  r en p tp    ttg ; i              a p          pp  p     
+ a s  ss  l tatli . x. r  tdi 0yh              c t r        tt  t     
+ v acc   ci nhnir t et o  eie =rw                u o        uu  u     
+ a liill iF iciFP u tu f  lwh lt               } o f        oo  o }   
+ j cttaa t        p  p                                                
+    aann a        t  t                                                
+ t cttii t        u  u                                                
+ r issff s        o  o                                               }
+ o l                                                                  
+ p b                                                                  
+ m u                                                                  
+ i p                                                                  
+------------------------------------------------------
+Abdruckbare Buchstaben im Text: 1089