testsuite: ability run a given test from its own directory.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11090 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
3f334eb176
commit
4fe49e995d
|
@ -1,3 +1,5 @@
|
|||
BASEDIR=../..
|
||||
|
||||
default:
|
||||
@$(OCAMLC) -o program.byte alloc.ml
|
||||
@./program.byte
|
||||
|
@ -7,4 +9,4 @@ default:
|
|||
clean: defaultclean
|
||||
@rm -fr program.*
|
||||
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
BASEDIR=../..
|
||||
#MODULES=
|
||||
MAIN_MODULE=graph_test
|
||||
#ADD_COMPFLAGS=
|
||||
LIBRARIES=graphics
|
||||
|
||||
include ../../makefiles/Makefile.one
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.one
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
BASEDIR=../..
|
||||
#MODULES=
|
||||
MAIN_MODULE=sorts
|
||||
ADD_COMPFLAGS=-thread
|
||||
LIBRARIES=unix threads graphics
|
||||
|
||||
include ../../makefiles/Makefile.one
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.one
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
BASEDIR=../..
|
||||
#MODULES=
|
||||
MAIN_MODULE=graph_example
|
||||
#ADD_COMPFLAGS=
|
||||
LIBRARIES=graphics
|
||||
|
||||
include ../../makefiles/Makefile.one
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.one
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
BASEDIR=../..
|
||||
|
||||
default:
|
||||
@$(OCAMLC) -o program.byte signals.ml
|
||||
@./program.byte
|
||||
|
@ -7,4 +9,4 @@ default:
|
|||
clean: defaultclean
|
||||
@rm -fr program.*
|
||||
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
BASEDIR=../..
|
||||
CC=$(NATIVECC)
|
||||
CFLAGS=$(NATIVECCCOMPOPTS) -g
|
||||
|
||||
|
@ -139,6 +140,6 @@ power.o: power-$(SYSTEM).o
|
|||
@cp power-$(SYSTEM).o power.o
|
||||
|
||||
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
||||
arch: $(ARCH).o
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
BASEDIR=../..
|
||||
EXECNAME=./program
|
||||
|
||||
run-all:
|
||||
|
@ -13,4 +14,4 @@ run-all:
|
|||
clean: defaultclean
|
||||
@rm -f *.result $(EXECNAME)
|
||||
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
BASEDIR=../..
|
||||
MODULES=float_record
|
||||
MAIN_MODULE=tfloat_record
|
||||
|
||||
include ../../makefiles/Makefile.one
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.one
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
BASEDIR=../..
|
||||
#MODULES=
|
||||
MAIN_MODULE=io
|
||||
EXEC_ARGS=io.ml
|
||||
|
||||
include ../../makefiles/Makefile.one
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.one
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
BASEDIR=../..
|
||||
#MODULES=
|
||||
MAIN_MODULE=wc
|
||||
EXEC_ARGS=wc.ml
|
||||
|
||||
include ../../makefiles/Makefile.one
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.one
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
BASEDIR=../..
|
||||
#MODULES=
|
||||
MAIN_MODULE=manyargs
|
||||
C_FILES=manyargsprim
|
||||
|
||||
include ../../makefiles/Makefile.one
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.one
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
BASEDIR=../..
|
||||
MODULES=testing
|
||||
|
||||
include ../../makefiles/Makefile.several
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.several
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
BASEDIR=../..
|
||||
MODULES=multdef
|
||||
MAIN_MODULE=usemultdef
|
||||
|
||||
include ../../makefiles/Makefile.one
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.one
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
BASEDIR=../..
|
||||
|
||||
MODULES=length
|
||||
MAIN_MODULE=tlength
|
||||
|
||||
include ../../makefiles/Makefile.one
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.one
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
include ../../makefiles/Makefile.several
|
||||
include ../../makefiles/Makefile.common
|
||||
BASEDIR=../..
|
||||
include $(BASEDIR)/makefiles/Makefile.several
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
BASEDIR=../..
|
||||
|
||||
CC=$(NATIVECC) -I $(TOPDIR)/byterun
|
||||
|
||||
default: run-byte run-opt
|
||||
|
@ -24,4 +26,4 @@ run-opt: common
|
|||
clean: defaultclean
|
||||
@rm -f *.result ./program
|
||||
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
BASEDIR=../..
|
||||
|
||||
default: compile run
|
||||
|
||||
compile:
|
||||
|
@ -15,4 +17,4 @@ run:
|
|||
clean: defaultclean
|
||||
@rm -f *.result ./program
|
||||
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
BASEDIR=../..
|
||||
#MODULES=
|
||||
MAIN_MODULE=globroots
|
||||
C_FILES=globrootsprim
|
||||
ADD_COMPFLAGS=-w a
|
||||
|
||||
include ../../makefiles/Makefile.one
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.one
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
BASEDIR=../..
|
||||
LIBRARIES=unix bigarray
|
||||
C_FILES=bigarrfstub
|
||||
F_FILES=bigarrf
|
||||
|
||||
include ../../makefiles/Makefile.several
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.several
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
BASEDIR=../..
|
||||
LIBRARIES=unix bigarray
|
||||
|
||||
include ../../makefiles/Makefile.several
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.several
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
BASEDIR=../..
|
||||
#MODULES=
|
||||
MAIN_MODULE=md5
|
||||
ADD_COMPFLAGS=-w a
|
||||
|
||||
include ../../makefiles/Makefile.one
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.one
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
BASEDIR=../..
|
||||
|
||||
default: compile run
|
||||
|
||||
compile:
|
||||
|
@ -33,4 +35,4 @@ run:
|
|||
clean: defaultclean
|
||||
@rm -f ./main ./static ./custom *.result
|
||||
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
BASEDIR=../..
|
||||
CSC=csc
|
||||
|
||||
default: prepare bytecode bytecode-dll native native-dll
|
||||
|
@ -55,4 +56,4 @@ native-dll:
|
|||
clean: defaultclean
|
||||
@rm -f *.result *.exe *.dll
|
||||
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
BASEDIR=../..
|
||||
|
||||
|
||||
default: compile run
|
||||
|
||||
PLUGINS=plugin.so plugin2.so sub/plugin.so sub/plugin3.so plugin4.so mypack.so packed1.so packed1_client.so pack_client.so plugin_ref.so plugin_high_arity.so plugin_ext.so plugin_simple.so bug.so plugin_thread.so plugin4_unix.so a.so b.so c.so
|
||||
|
@ -67,4 +70,4 @@ clean: defaultclean
|
|||
@rm -f *.a *.lib
|
||||
@rm -f sub/*.so sub/*.o sub/*.cm* sub/*.s sub/*.asm sub/*.obj
|
||||
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
include ../../makefiles/Makefile.several
|
||||
include ../../makefiles/Makefile.common
|
||||
BASEDIR=../..
|
||||
include $(BASEDIR)/makefiles/Makefile.several
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
BASEDIR=../..
|
||||
#MODULES=
|
||||
MAIN_MODULE=intext
|
||||
C_FILES=intextaux
|
||||
|
||||
include ../../makefiles/Makefile.one
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.one
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
BASEDIR=../..
|
||||
LIBRARIES=nums
|
||||
PROGRAM_ARGS=1000
|
||||
|
||||
include ../../makefiles/Makefile.several
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.several
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
BASEDIR=../..
|
||||
MODULES=test test_nats test_big_ints test_ratios test_nums test_io
|
||||
MAIN_MODULE=end_test
|
||||
ADD_COMPFLAGS=-w a
|
||||
LIBRARIES=nums
|
||||
|
||||
include ../../makefiles/Makefile.one
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.one
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
BASEDIR=../..
|
||||
|
||||
default: compile run
|
||||
|
||||
compile: tscanf2_io.cmo tscanf2_io.cmx
|
||||
|
@ -18,4 +20,4 @@ run:
|
|||
clean: defaultclean
|
||||
@rm -f master.* slave.* result.*
|
||||
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
BASEDIR=../..
|
||||
#MODULES=
|
||||
MAIN_MODULE=tscanf
|
||||
ADD_COMPFLAGS=-I $(BASEDIR)/lib
|
||||
ADD_MODULES=testing
|
||||
|
||||
include ../../makefiles/Makefile.one
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.one
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
BASEDIR=../..
|
||||
LIBRARIES=str
|
||||
|
||||
include ../../makefiles/Makefile.several
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.several
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
BASEDIR=../..
|
||||
LIBRARIES=unix threads
|
||||
ADD_COMPFLAGS=-thread
|
||||
|
||||
include ../../makefiles/Makefile.several
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.several
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
BASEDIR=../..
|
||||
LIBRARIES=unix threads
|
||||
ADD_COMPFLAGS=-thread
|
||||
|
||||
include ../../makefiles/Makefile.several
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.several
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
BASEDIR=../..
|
||||
MODULES=terms equations orderings kb
|
||||
MAIN_MODULE=kbmain
|
||||
ADD_COMPFLAGS=-w a
|
||||
|
||||
include ../../makefiles/Makefile.one
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.one
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
BASEDIR=../..
|
||||
UNSAFE=ON
|
||||
include ../../makefiles/Makefile.several
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.several
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
include ../../makefiles/Makefile.several
|
||||
include ../../makefiles/Makefile.common
|
||||
BASEDIR=../..
|
||||
include $(BASEDIR)/makefiles/Makefile.several
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
BASEDIR=../..
|
||||
|
||||
default: compile run
|
||||
|
||||
compile:
|
||||
|
@ -22,4 +24,4 @@ run:
|
|||
clean: defaultclean
|
||||
@rm -f *.bytecode *.native *.result
|
||||
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
BASEDIR=../..
|
||||
MODULES=syntax gram_aux grammar scan_aux scanner lexgen output
|
||||
MAIN_MODULE=main
|
||||
LEX_MODULES=scanner
|
||||
|
@ -5,5 +6,5 @@ YACC_MODULES=grammar
|
|||
ADD_COMPFLAGS=-w a
|
||||
EXEC_ARGS=input
|
||||
|
||||
include ../../makefiles/Makefile.one
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.one
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
BASEDIR=../..
|
||||
SHOULD_FAIL=t060-raise.ml
|
||||
|
||||
compile: lib.cmo
|
||||
|
@ -13,4 +14,4 @@ compile: lib.cmo
|
|||
clean: defaultclean
|
||||
@rm -f ./a.out
|
||||
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
BASEDIR=../..
|
||||
CUSTOM_MODULE=odoc_test
|
||||
ADD_COMPFLAGS=-I +ocamldoc
|
||||
|
||||
|
@ -14,4 +15,4 @@ run: $(CUSTOM_MODULE).cmo
|
|||
clean: defaultclean
|
||||
@rm -f *.result *.html *.tex *.log *.out *.sty *.toc *.css *.aux
|
||||
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
BASEDIR=../..
|
||||
#MODULES=
|
||||
MAIN_MODULE=fstclassmod
|
||||
ADD_COMPFLAGS=-w a
|
||||
|
||||
include ../../makefiles/Makefile.one
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.one
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
include ../../makefiles/Makefile.several
|
||||
include ../../makefiles/Makefile.common
|
||||
BASEDIR=../..
|
||||
include $(BASEDIR)/makefiles/Makefile.several
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
include ../../makefiles/Makefile.okbad
|
||||
include ../../makefiles/Makefile.common
|
||||
BASEDIR=../..
|
||||
include $(BASEDIR)/makefiles/Makefile.okbad
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
include ../../makefiles/Makefile.toplevel
|
||||
include ../../makefiles/Makefile.common
|
||||
BASEDIR=../..
|
||||
include $(BASEDIR)/makefiles/Makefile.toplevel
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
include ../../makefiles/Makefile.toplevel
|
||||
include ../../makefiles/Makefile.common
|
||||
BASEDIR=../..
|
||||
include $(BASEDIR)/makefiles/Makefile.toplevel
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
BASEDIR=../..
|
||||
default:
|
||||
@printf " ... testing 'pr3918':"
|
||||
@($(OCAMLC) -c pr3918a.mli && $(OCAMLC) -c pr3918b.mli && $(OCAMLC) -c pr3918c.ml && echo " => passed") || echo " => failed"
|
||||
|
||||
clean: defaultclean
|
||||
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
include ../../makefiles/Makefile.okbad
|
||||
include ../../makefiles/Makefile.common
|
||||
BASEDIR=../..
|
||||
include $(BASEDIR)/makefiles/Makefile.okbad
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
include ../../makefiles/Makefile.okbad
|
||||
include ../../makefiles/Makefile.common
|
||||
BASEDIR=../..
|
||||
include $(BASEDIR)/makefiles/Makefile.okbad
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
include ../../makefiles/Makefile.toplevel
|
||||
include ../../makefiles/Makefile.common
|
||||
BASEDIR=../..
|
||||
include $(BASEDIR)/makefiles/Makefile.toplevel
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
include ../../makefiles/Makefile.okbad
|
||||
include ../../makefiles/Makefile.common
|
||||
BASEDIR=../..
|
||||
include $(BASEDIR)/makefiles/Makefile.okbad
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#MODULES=
|
||||
MAIN_MODULE=newtype
|
||||
MAIN_MOBASEDIR=../..
|
||||
DULE=newtype
|
||||
ADD_COMPFLAGS=-w a
|
||||
|
||||
include ../../makefiles/Makefile.one
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.one
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
BASEDIR=../..
|
||||
FLAGS=-w A
|
||||
EXECNAME=./program
|
||||
|
||||
|
@ -11,4 +12,4 @@ run-all:
|
|||
clean: defaultclean
|
||||
@rm -f *.result $(EXECNAME)
|
||||
|
||||
include ../../makefiles/Makefile.common
|
||||
include $(BASEDIR)/makefiles/Makefile.common
|
||||
|
|
Loading…
Reference in New Issue