Skip to content

Commit d72f3a1

Browse files
authored
More CR ocaml 5 comments (#2108)
1 parent 6902092 commit d72f3a1

File tree

75 files changed

+79
-75
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+79
-75
lines changed

ocaml/bytecomp/emitcode.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,8 @@ let to_file outchan unit_name objfile ~required_globals code =
421421
(Filename.dirname (Location.absolute_path objfile))
422422
!debug_dirs;
423423
let p = pos_out outchan in
424-
(* CR mshinwell: Compression not supported in the OCaml 4 runtime
424+
(* CR ocaml 5 compressed-marshal mshinwell:
425+
Compression not supported in the OCaml 4 runtime
425426
Marshal.(to_channel outchan !events [Compression]);
426427
Marshal.(to_channel outchan (String.Set.elements !debug_dirs)
427428
[Compression]);

ocaml/file_formats/cmi_format.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ let output_cmi filename oc cmi =
167167
output_int64 oc len;
168168
Out_channel.seek oc val_pos;
169169
(* BACKPORT BEGIN *)
170-
(* mshinwell: upstream uses [Compression] here *)
170+
(* CR ocaml 5 compressed-marshal mshinwell:
171+
upstream uses [Compression] here *)
171172
output_value oc ((cmi.cmi_name, sign) : header);
172173
(* BACKPORT END *)
173174
flush oc;

ocaml/file_formats/cmt_format.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ let input_cmt ic = (input_value ic : cmt_infos)
110110
let output_cmt oc cmt =
111111
output_string oc Config.cmt_magic_number;
112112
(* BACKPORT BEGIN *)
113-
(* mshinwell: upstream uses [Compression] here *)
113+
(* CR ocaml 5 compressed-marshal mshinwell:
114+
upstream uses [Compression] here *)
114115
Marshal.(to_channel oc (cmt : cmt_infos) [])
115116
(* BACKPORT END *)
116117

ocaml/testsuite/tests/backtrace/backtrace_effects_nested.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
flags = "-g"
55
* skip
6-
reason = "OCaml 5 only"
6+
reason = "CR ocaml 5 effects: re-enable this test"
77
** bytecode
88
** no-flambda
99
*** native

ocaml/testsuite/tests/callback/callback_effects_gc.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(* TEST
22
ocamlrunparam += ",s=512"
33
* skip
4-
reason = "OCaml 5 only"
4+
reason = "CR ocaml 5 effects: re-enable this test"
55
** native
66
*)
77

ocaml/testsuite/tests/callback/nested_fiber.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
include unix
33
modules = "nested_fiber_.c"
44
* skip
5-
reason = "OCaml 5 only"
5+
reason = "CR ocaml 5 effects: re-enable this test"
66
** libunix
77
*** bytecode
88
*** native

ocaml/testsuite/tests/callback/stack_overflow.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
include unix
33
modules = "stack_overflow_.c"
44
* skip
5-
reason = "OCaml 5 only"
5+
reason = "CR ocaml 5 effects: re-enable this test"
66
** libunix
77
*** bytecode
88
*** native

ocaml/testsuite/tests/callback/test7.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
include unix
44
modules = "test7_.c"
55
* skip
6-
reason = "OCaml 5 only"
6+
reason = "CR ocaml 5 effects: re-enable this test"
77
** libunix
88
*** bytecode
99
*** native

ocaml/testsuite/tests/effects/marshal.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* TEST
22
* skip
3-
reason = "OCaml 5 only"
3+
reason = "CR ocaml 5 effects: re-enable this test"
44
*)
55

66
open Effect

ocaml/testsuite/tests/effects/unhandled_unlinked.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
exit_status= "2"
55
* skip
6-
reason = "OCaml 5 only"
6+
reason = "CR ocaml 5 effects: re-enable this test"
77
*)
88

99
open Effect

ocaml/testsuite/tests/frame-pointers/effects.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
55
* skip
6-
reason - "OCaml 5 only"
6+
reason = "CR ocaml 5 effects: re-enable this test"
77
** frame_pointers
88
*** native
99
readonly_files = "fp_backtrace.c"

ocaml/testsuite/tests/frame-pointers/reperform.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
55
* skip
6-
reason - "OCaml 5 only"
6+
reason = "CR ocaml 5 effects: re-enable this test"
77
** frame_pointers
88
*** native
99

ocaml/testsuite/tests/frame-pointers/stack_realloc.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
55
* skip
6-
reason - "OCaml 5 only"
6+
reason = "CR ocaml 5 effects: re-enable this test"
77
** frame_pointers
88
*** native
99

ocaml/testsuite/tests/frame-pointers/stack_realloc2.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
55
* skip
6-
reason - "OCaml 5 only"
6+
reason = "CR ocaml 5 effects: re-enable this test"
77
** frame_pointers
88
*** native
99

ocaml/testsuite/tests/gc-roots/globroots_parallel.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
modules = "globrootsprim.c globroots.ml"
44
55
* skip
6-
reason = "OCaml 5 only"
6+
reason = "CR ocaml 5 domains: re-enable this test"
77
*)
88

99
open Globroots

ocaml/testsuite/tests/gc-roots/globroots_parallel_spawn_burn.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
modules = "globrootsprim.c globroots.ml"
44
55
* skip
6-
reason = "OCaml 5 only"
6+
reason = "CR ocaml 5 domains: re-enable this test"
77
*)
88

99
open Globroots

ocaml/testsuite/tests/lazy/lazy2.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(* TEST
22
ocamlopt_flags += " -O3 "
33
* skip
4-
reason = "OCaml 5 only"
4+
reason = "CR ocaml 5 domains: re-enable this test"
55
*)
66

77
open Domain

ocaml/testsuite/tests/lazy/lazy3.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(* TEST
22
ocamlopt_flags += " -O3 "
33
* skip
4-
reason = "OCaml 5 only"
4+
reason = "CR ocaml 5 domains: re-enable this test"
55
*)
66

77
let f count =

ocaml/testsuite/tests/lazy/lazy5.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(* TEST
22
ocamlopt_flags += " -O3 "
33
* skip
4-
reason = "OCaml 5 only"
4+
reason = "CR ocaml 5 domains: re-enable this test"
55
*)
66
let rec safe_force l =
77
try Lazy.force l with

ocaml/testsuite/tests/lazy/lazy6.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(* TEST
22
ocamlopt_flags += " -O3 "
33
* skip
4-
reason = "OCaml 5 only"
4+
reason = "CR ocaml 5 domains: re-enable this test"
55
*)
66

77
let flag1 = Atomic.make false

ocaml/testsuite/tests/lazy/lazy7.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(* TEST
22
ocamlopt_flags += " -O3 "
33
* skip
4-
reason = "OCaml 5 only"
4+
reason = "CR ocaml 5 domains: re-enable this test"
55
*)
66

77
let num_domains = 4

ocaml/testsuite/tests/lazy/lazy8.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(* TEST
22
ocamlopt_flags += " -O3 "
33
* skip
4-
reason = "OCaml 5 only"
4+
reason = "CR ocaml 5 domains: re-enable this test"
55
*)
66

77
exception E

ocaml/testsuite/tests/lf_skiplist/test_parallel.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
modules = "stubs.c"
33
44
* skip
5-
reason = "OCaml 5 only"
5+
reason = "CR ocaml 5 domains: re-enable this test"
66
*)
77

88
external init_skiplist : unit -> unit = "init_skiplist"

ocaml/testsuite/tests/lib-channels/refcounting.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* TEST
22
* skip
3-
reason = "OCaml 5 only"
3+
reason = "CR ocaml 5 domains: re-enable this test"
44
** expect
55
*)
66

ocaml/testsuite/tests/lib-dynlink-domains/main.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* TEST
22
* skip
3-
reason = "OCaml 5 only"
3+
reason = "CR ocaml 5 domains: re-enable this test"
44
*)
55

66
(* BACKPORT

ocaml/testsuite/tests/lib-format/domains.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* TEST
22
* skip
3-
reason = "OCaml 5 only"
3+
reason = "CR ocaml 5 domains: re-enable this test"
44
*)
55

66
(** Test that domains stdout and stderr are flushed at domain exit *)

ocaml/testsuite/tests/lib-format/mc_pr586_par.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* TEST
22
* skip
3-
reason = "OCaml 5 only"
3+
reason = "CR ocaml 5 domains: re-enable this test"
44
*)
55

66
let () =

ocaml/testsuite/tests/lib-format/mc_pr586_par2.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* TEST
22
* skip
3-
reason = "OCaml 5 only"
3+
reason = "CR ocaml 5 domains: re-enable this test"
44
*)
55

66
let () =

ocaml/testsuite/tests/lib-marshal/intext_par.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* TEST
22
* skip
3-
reason = "OCaml 5 only"
3+
reason = "CR ocaml 5 domains: re-enable this test"
44
modules = "intextaux_par.c"
55
*)
66

ocaml/testsuite/tests/lib-random/parallel.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(* TEST
22
include unix
33
* skip
4-
reason = "OCaml 5 only"
4+
reason = "CR ocaml 5 domains: re-enable this test"
55
** libunix
66
*** bytecode
77
*** native

ocaml/testsuite/tests/lib-str/parallel.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* TEST
22
* skip
3-
reason = "OCaml 5 only"
3+
reason = "CR ocaml 5 domains: re-enable this test"
44
** hasstr
55
include str
66
*** bytecode

ocaml/testsuite/tests/lib-sync/prodcons.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* TEST
22
* skip
3-
reason = "OCaml 5 only"
3+
reason = "CR ocaml 5 domains: re-enable this test"
44
*)
55

66
(* Classic producer-consumer *)

ocaml/testsuite/tests/lib-systhreads/multicore_lifecycle.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* TEST
22
* skip
3-
reason = "OCaml 5 only"
3+
reason = "CR ocaml 5 domains: re-enable this test"
44
** hassysthreads
55
include systhreads
66
*** bytecode

ocaml/testsuite/tests/lib-unix/common/multicore_fork_domain_alone.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(* TEST
22
include unix
33
* skip
4-
reason = "OCaml 5 only"
4+
reason = "CR ocaml 5 domains: re-enable this test"
55
** hasunix
66
*** not-windows
77
**** bytecode

ocaml/testsuite/tests/lib-unix/common/multicore_fork_domain_alone2.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(* TEST
22
include unix
33
* skip
4-
reason = "OCaml 5 only"
4+
reason = "CR ocaml 5 domains: re-enable this test"
55
** hasunix
66
*** not-windows
77
**** bytecode

ocaml/testsuite/tests/memory-model/publish.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(* TEST
22
modules="opt.ml barrier.ml hist.ml shared.ml run.ml outcome.ml"
33
* skip
4-
reason = "OCaml 5 only"
4+
reason = "CR ocaml 5 domains: re-enable this test"
55
** not-bsd
66
*** not-windows
77
**** bytecode

ocaml/testsuite/tests/parallel/atomics.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* TEST
22
* skip
3-
reason = "OCaml 5 only"
3+
reason = "CR ocaml 5 domains: re-enable this test"
44
*)
55

66
type u = U of unit

ocaml/testsuite/tests/parallel/backup_thread.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* TEST
22
* skip
3-
reason = "OCaml 5 only"
3+
reason = "CR ocaml 5 domains: re-enable this test"
44
** hasunix
55
include unix
66
*** bytecode

ocaml/testsuite/tests/parallel/backup_thread_pipe.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* TEST
22
* skip
3-
reason = "OCaml 5 only"
3+
reason = "CR ocaml 5 domains: re-enable this test"
44
** hasunix
55
include unix
66
*** bytecode

ocaml/testsuite/tests/parallel/constpromote.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* TEST
22
* skip
3-
reason = "OCaml 5 only"
3+
reason = "CR ocaml 5 domains: re-enable this test"
44
*)
55

66
(* when run with the bytecode debug runtime, this test

ocaml/testsuite/tests/parallel/deadcont.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* TEST
22
* skip
3-
reason = "OCaml 5 only"
3+
reason = "CR ocaml 5 effects: re-enable this test"
44
*)
55

66
(*

ocaml/testsuite/tests/parallel/domain_dls.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* TEST
22
* skip
3-
reason = "OCaml 5 only"
3+
reason = "CR ocaml 5 domains: re-enable this test"
44
*)
55

66
let check_dls () =

ocaml/testsuite/tests/parallel/domain_dls2.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* TEST
22
* skip
3-
reason = "OCaml 5 only"
3+
reason = "CR ocaml 5 domains: re-enable this test"
44
*)
55

66
let _ =

ocaml/testsuite/tests/parallel/domain_id.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* TEST
22
* skip
3-
reason = "OCaml 5 only"
3+
reason = "CR ocaml 5 domains: re-enable this test"
44
*)
55

66
open Domain

ocaml/testsuite/tests/parallel/domain_parallel_spawn_burn.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* TEST
22
* skip
3-
reason = "OCaml 5 only"
3+
reason = "CR ocaml 5 domains: re-enable this test"
44
*)
55

66
open Domain

ocaml/testsuite/tests/parallel/domain_parallel_spawn_burn_gc_set.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(* TEST
22
* skip
3-
reason = "OCaml 5 only"
3+
reason = "CR ocaml 5 domains: re-enable this test"
44
*)
55

66
open Domain

0 commit comments

Comments
 (0)