summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.Mac125
-rw-r--r--test/Moretest/Makefile.Mac76
-rw-r--r--test/testinterp/Makefile.Mac37
3 files changed, 0 insertions, 238 deletions
diff --git a/test/Makefile.Mac b/test/Makefile.Mac
deleted file mode 100644
index 61153dfbe..000000000
--- a/test/Makefile.Mac
+++ /dev/null
@@ -1,125 +0,0 @@
-#########################################################################
-# #
-# Objective Caml #
-# #
-# Damien Doligez, projet Para, INRIA Rocquencourt #
-# #
-# Copyright 1999 Institut National de Recherche en Informatique et #
-# en Automatique. All rights reserved. This file is distributed #
-# under the terms of the Q Public License version 1.0. #
-# #
-#########################################################################
-
-# $Id$
-
-CAMLC = ::boot:ocamlrun ::ocamlc -I ::stdlib: -I :KB: -I :Lex:
-CAMLYACC = ::yacc:ocamlyacc
-CAMLLEX = ::boot:ocamlrun ::lex:ocamllex
-CAMLDEP = ::boot:ocamlrun ::tools:ocamldep
-CAMLRUN = ::byterun:ocamlrun
-
-BYTE_EXE = fib.byt takc.byt taku.byt sieve.byt quicksort.byt ¶
- quicksort.fast.byt ¶
- fft.byt fft.fast.byt soli.byt soli.fast.byt boyer.byt kb.byt ¶
- nucleic.byt genlex.byt bdd.byt
-
-all Ä test
-
-# KB
-
-BYTE_KB = :KB:terms.cmo :KB:equations.cmo :KB:kb.cmo :KB:orderings.cmo ¶
- :KB:kbmain.cmo
-
-kb.byt Ä {BYTE_KB}
- {CAMLC} {BYTE_KB} -o kb.byt
-
-clean ÄÄ
- delete -i :KB:Å.cm[io] || set status 0
-
-# Genlex
-
-BYTE_GENLEX = :Lex:syntax.cmo :Lex:scan_aux.cmo :Lex:scanner.cmo ¶
- :Lex:gram_aux.cmo :Lex:grammar.cmo :Lex:lexgen.cmo :Lex:output.cmo :Lex:main.cmo
-
-genlex.byt Ä {BYTE_GENLEX}
- {CAMLC} {BYTE_GENLEX} -o genlex.byt
-
-clean ÄÄ
- delete -i :Lex:Å.cm[io] || set status 0
-
-:Lex:grammar.mli Ä :Lex:grammar.ml
- echo -n
-
-:Lex:grammar.ml Ä :Lex:grammar.mly ::yacc:ocamlyacc
- {CAMLYACC} {YACCFLAGS} :Lex:grammar.mly
-
-clean ÄÄ
- delete -i :Lex:grammar.ml :Lex:grammar.mli
-
-beforedepend ÄÄ :Lex:grammar.ml :Lex:grammar.mli
-
-:Lex:scanner.ml Ä :Lex:scanner.mll ::lex:ocamllex
- {CAMLLEX} :Lex:scanner.mll
-
-clean ÄÄ
- delete -i :Lex:scanner.ml
-
-beforedepend ÄÄ :Lex:scanner.ml
-
-# Common rules
-
-.byt Ä .ml
- {CAMLC} -o {targdir}{default}.byt {depdir}{default}.ml
-
-.fast.byt Ä .ml
- {CAMLC} -unsafe -o {targdir}{default}.fast.byt {depdir}{default}.ml
-
-.cmi Ä .mli
- {CAMLC} -c {depdir}{default}.mli
-
-.cmo Ä .ml
- {CAMLC} -c {depdir}{default}.ml
-
-{BYTE_EXE} {BYTE_KB} {BYTE_GENLEX} Ä ::ocamlc
-{BYTE_EXE} Ä ::stdlib:stdlib.cma
-
-clean ÄÄ
- delete -i Å.byt || set status 0
- delete -i Å.cm[io] || set status 0
- directory :Moretest; domake clean; directory ::
-
-# Regression test
-
-test Ä {BYTE_EXE}
- set echo 0
- for prog in `echo {BYTE_EXE} | streamedit -e '1 replace /.byt/ "" -c °'`
- echo {prog}
- if "`exists :Results:{prog}.runtest.Mac`"
- :Results:{prog}.runtest.Mac test {CAMLRUN} {prog}.byt
- else
- {CAMLRUN} {prog}.byt > "{tempfolder}ocaml-test"
- equal -d "{tempfolder}ocaml-test" :Results:{prog}.out
- end
- end
-
-clean ÄÄ
- delete -i :Lex:testscanner.ml "{tempfolder}ocaml-test"
-
-# Benchmark
-
-bench Ä {BYTE_EXE}
- set echo 0
- for prog in `echo {BYTE_EXE} | streamedit -e '1 replace /.byt/ "" -c °'`
- echo {prog}
- if "`exists :Results:{prog}.runtest.Mac`"
- :Results:{prog}.runtest.Mac bench {CAMLRUN} {prog}.byt
- else
- time "{CAMLRUN} {prog}.byt ·dev:null"
- end
- end
-
-# Dependencies
-
-depend Ä beforedepend
- {CAMLDEP} -I :KB: -I :Lex: Å.ml :KB:Å.mli :KB:Å.ml :Lex:Å.mli ¶
- :Lex:Å.ml > Makefile.Mac.depend
diff --git a/test/Moretest/Makefile.Mac b/test/Moretest/Makefile.Mac
deleted file mode 100644
index 0ebb0f0f6..000000000
--- a/test/Moretest/Makefile.Mac
+++ /dev/null
@@ -1,76 +0,0 @@
-#########################################################################
-# #
-# Objective Caml #
-# #
-# Damien Doligez, projet Para, INRIA Rocquencourt #
-# #
-# Copyright 1999 Institut National de Recherche en Informatique et #
-# en Automatique. All rights reserved. This file is distributed #
-# under the terms of the Q Public License version 1.0. #
-# #
-#########################################################################
-
-# $Id$
-
-CAMLC = :::boot:ocamlrun :::ocamlc -I :::stdlib:
-CAMLDEP = :::boot:ocamlrun :::tools:ocamldep
-CAMLRUN = :::byterun:ocamlrun
-
-FILES = arrays.byt callback.byt equality.byt intext.byt io.byt manyargs.byt ¶
- multdef.byt patmatch.byt recvalues.byt sets.byt signals.byt syserror.byt ¶
- testrandom.byt usemultdef.byt wc.byt tscanf.byt
-
-all Ä {FILES}
- duplicate -y :::ocaml ":/vmunix"
- duplicate -y :::byterun:interp.a ":/etc/hosts"
- set -e ocamlcommands "{tempfolder}ocamlcommands"
- set exit 0
- for i in {FILES}
- :{i}
- end
- delete -i ":/etc/hosts" ":/vmunix" "{tempfolder}ocamlcommands"
-
-callback.byt Ä callback.cmo callbackprim.c.o callbackprim.c.x
- alias ocamlc "{CAMLC}"
- :::tools:ocamlc-custom -o callback.byt callback.cmo callbackprim.c.[ox]
-
-manyargs.byt Ä manyargs.cmo manyargsprim.c.o manyargsprim.c.x
- alias ocamlc "{CAMLC}"
- :::tools:ocamlc-custom -o manyargs.byt manyargs.cmo manyargsprim.c.[ox]
-
-usemultdef.byt Ä multdef.cmo usemultdef.cmo
- {CAMLC} -o usemultdef.byt multdef.cmo usemultdef.cmo
-
-# Common rules
-
-.byt Ä .cmo
- {CAMLC} -o {default}.byt {default}.cmo
-
-.fast.byt Ä .ml
- {CAMLC} -unsafe -o {default}.fast.byt {default}.fast.cmo
-
-.cmi Ä .mli
- {CAMLC} -c {default}.mli
-
-.cmo Ä .ml
- {CAMLC} -c {default}.ml
-
-.fast.cmo Ä .ml
- {CAMLC} -unsafe -c {default}.ml
-
-.c.o Ä .c
- sc -w 7 -i :::byterun: {default}.c -o {default}.c.o
-
-.c.x Ä .c
- mrc -w 7 -w 35 -i :::byterun: {default}.c -o {default}.c.x
-
-clean ÄÄ
- delete -i Å.byt || set status 0
- delete -i Å.cm[io] || set status 0
- delete -i Å.c.[ox] || set status 0
- delete -i intext.data
-
-# Dependencies
-
-depend Ä
- {CAMLDEP} Å.mli Å.ml > Makefile.Mac.depend
diff --git a/test/testinterp/Makefile.Mac b/test/testinterp/Makefile.Mac
deleted file mode 100644
index 16e00fdf5..000000000
--- a/test/testinterp/Makefile.Mac
+++ /dev/null
@@ -1,37 +0,0 @@
-#########################################################################
-# #
-# Objective Caml #
-# #
-# Damien Doligez, projet Para, INRIA Rocquencourt #
-# #
-# Copyright 1999 Institut National de Recherche en Informatique et #
-# en Automatique. All rights reserved. This file is distributed #
-# under the terms of the Q Public License version 1.0. #
-# #
-#########################################################################
-
-# $Id$
-
-start = 0
-
-default Ä ocamlrun.ppc ocamlrun.68k
- :runtest.mpw -start {start} -run ocamlrun.68k tÅ.ml
- #:runtest.mpw -start {start} -run ocamlrun.ppc tÅ.ml
-
-all Ä default
-test Ä default
-
-comments Ä
- runtest.mpw -bc tÅ.ml
-
-ocamlrun.ppc Ä :::byterun:ocamlrun no68k.rez
- duplicate -y :::byterun:ocamlrun ocamlrun.ppc
- rez -a no68k.rez -o ocamlrun.ppc
-
-ocamlrun.68k Ä :::byterun:ocamlrun noppc.rez
- duplicate -y :::byterun:ocamlrun ocamlrun.68k
- rez -a noppc.rez -o ocamlrun.68k
-
-clean Ä
- delete -i Å.cm[io] || set status 0
- delete -i a.out