summaryrefslogtreecommitdiff
path: root/testsuite/tests/tool-command-line/test-unknown-file.ml
blob: 2d09383701e4f7a2ffd53d4a6606bdb9354ed4cc (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
(* TEST
 readonly_files = "unknown-file";
 {
   compiler_output = "compiler-output.raw";
   setup-ocamlc.byte-build-env;
   all_modules = "";
   flags = "unknown-file";
   ocamlc_byte_exit_status = "2";
   ocamlc.byte;
   script = "grep 'know what to do with unknown-file' compiler-output.raw";
   output = "compiler-output";
   script;
   compiler_output = "compiler-output";
   check-ocamlc.byte-output;
 }{
   compiler_output = "compiler-output.raw";
   setup-ocamlopt.byte-build-env;
   all_modules = "";
   flags = "unknown-file";
   ocamlopt_byte_exit_status = "2";
   ocamlopt.byte;
   script = "grep 'know what to do with unknown-file' compiler-output.raw";
   output = "compiler-output";
   script;
   compiler_output = "compiler-output";
   check-ocamlopt.byte-output;
 }
*)

(*
  This file is just a test driver, the test does not contain any
  real OCaml code
*)