blob: 7764b822e993f86ecdc08b3eb51c30dcc622c608 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
(* TEST
modules = "file.ml"
* setup-ocamlc.byte-build-env
program = "${test_build_directory}/main.exe"
** ocamlc.byte
module = "file.ml"
*** ocamlc.byte
module = ""
program = "lib.cma"
flags = "-a"
all_modules = "file.cmo"
**** ocamlc.byte
program = "${test_build_directory}/main.exe"
all_modules = "lib.cma main.ml"
flags = ""
***** check-ocamlc.byte-output
****** run
******* check-program-output
* setup-ocamlopt.byte-build-env
program = "${test_build_directory}/main.exe"
** ocamlopt.byte
module = "file.ml"
*** ocamlopt.byte
module = ""
program = "lib.cmxa"
flags = "-a"
all_modules = "file.cmx"
**** ocamlopt.byte
program = "${test_build_directory}/main.exe"
all_modules = "lib.cmxa main.ml"
flags = ""
***** check-ocamlopt.byte-output
****** run
******* check-program-output
*)
let () =
ignore (File.getcwd ())
|