2002-02-16 06:46:24 -08:00
|
|
|
# $Id$
|
|
|
|
# Test extensions
|
|
|
|
|
2002-06-09 19:35:54 -07:00
|
|
|
CAMLTOP=../boot/ocamlrun ../ocaml -I ../stdlib
|
2002-02-16 06:46:24 -08:00
|
|
|
|
|
|
|
test: test-poly
|
|
|
|
|
|
|
|
test-poly:
|
2002-06-09 19:35:54 -07:00
|
|
|
TERM=norepeat $(CAMLTOP) < poly.ml > poly.out 2>&1
|
|
|
|
TERM=norepeat $(CAMLTOP) -principal < poly.ml > poly.out2 2>&1
|
|
|
|
@diff poly.exp poly.out && echo ocaml OK || echo ocaml changed
|
|
|
|
@diff poly.exp2 poly.out2 && echo ocaml -principal OK \
|
2002-06-18 03:47:33 -07:00
|
|
|
|| echo ocaml -principal changed
|
|
|
|
|
|
|
|
promote:
|
|
|
|
mv poly.out poly.exp
|
|
|
|
mv poly.out2 poly.exp2
|