summaryrefslogtreecommitdiff
path: root/testsuite/tests/ppx-contexts/test.ml
blob: a8b0be1fa4c79e5337a5aaa283216c1a90c26e4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(* TEST
readonly_files = "myppx.ml"
include ocamlcommon
* setup-ocamlc.byte-build-env
** ocamlc.byte
program = "${test_build_directory}/myppx.exe"
all_modules = "myppx.ml"
*** ocamlc.byte
module = "test.ml"
flags = "-thread \
         -I ${test_build_directory} \
         -open List \
         -rectypes \
         -principal \
         -alias-deps \
         -unboxed-types \
         -ppx ${program}"
**** ocamlc.byte
module = "test.ml"
flags = "-g \
         -no-alias-deps \
         -no-unboxed-types \
         -ppx ${program}"
***** check-ocamlc.byte-output
*)

(* empty *)