Skip to content

More CR ocaml 5 comments #2108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ocaml/bytecomp/emitcode.ml
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,8 @@ let to_file outchan unit_name objfile ~required_globals code =
(Filename.dirname (Location.absolute_path objfile))
!debug_dirs;
let p = pos_out outchan in
(* CR mshinwell: Compression not supported in the OCaml 4 runtime
(* CR ocaml 5 compressed-marshal mshinwell:
Compression not supported in the OCaml 4 runtime
Marshal.(to_channel outchan !events [Compression]);
Marshal.(to_channel outchan (String.Set.elements !debug_dirs)
[Compression]);
Expand Down
3 changes: 2 additions & 1 deletion ocaml/file_formats/cmi_format.ml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ let output_cmi filename oc cmi =
output_int64 oc len;
Out_channel.seek oc val_pos;
(* BACKPORT BEGIN *)
(* mshinwell: upstream uses [Compression] here *)
(* CR ocaml 5 compressed-marshal mshinwell:
upstream uses [Compression] here *)
output_value oc ((cmi.cmi_name, sign) : header);
(* BACKPORT END *)
flush oc;
Expand Down
3 changes: 2 additions & 1 deletion ocaml/file_formats/cmt_format.ml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ let input_cmt ic = (input_value ic : cmt_infos)
let output_cmt oc cmt =
output_string oc Config.cmt_magic_number;
(* BACKPORT BEGIN *)
(* mshinwell: upstream uses [Compression] here *)
(* CR ocaml 5 compressed-marshal mshinwell:
upstream uses [Compression] here *)
Marshal.(to_channel oc (cmt : cmt_infos) [])
(* BACKPORT END *)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

flags = "-g"
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 effects: re-enable this test"
** bytecode
** no-flambda
*** native
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/callback/callback_effects_gc.ml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(* TEST
ocamlrunparam += ",s=512"
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 effects: re-enable this test"
** native
*)

Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/callback/nested_fiber.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
include unix
modules = "nested_fiber_.c"
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 effects: re-enable this test"
** libunix
*** bytecode
*** native
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/callback/stack_overflow.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
include unix
modules = "stack_overflow_.c"
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 effects: re-enable this test"
** libunix
*** bytecode
*** native
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/callback/test7.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
include unix
modules = "test7_.c"
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 effects: re-enable this test"
** libunix
*** bytecode
*** native
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/effects/marshal.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* TEST
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 effects: re-enable this test"
*)

open Effect
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/effects/unhandled_unlinked.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

exit_status= "2"
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 effects: re-enable this test"
*)

open Effect
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/frame-pointers/effects.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


* skip
reason - "OCaml 5 only"
reason = "CR ocaml 5 effects: re-enable this test"
** frame_pointers
*** native
readonly_files = "fp_backtrace.c"
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/frame-pointers/reperform.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


* skip
reason - "OCaml 5 only"
reason = "CR ocaml 5 effects: re-enable this test"
** frame_pointers
*** native

Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/frame-pointers/stack_realloc.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


* skip
reason - "OCaml 5 only"
reason = "CR ocaml 5 effects: re-enable this test"
** frame_pointers
*** native

Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/frame-pointers/stack_realloc2.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


* skip
reason - "OCaml 5 only"
reason = "CR ocaml 5 effects: re-enable this test"
** frame_pointers
*** native

Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/gc-roots/globroots_parallel.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
modules = "globrootsprim.c globroots.ml"

* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
*)

open Globroots
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
modules = "globrootsprim.c globroots.ml"

* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
*)

open Globroots
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/lazy/lazy2.ml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(* TEST
ocamlopt_flags += " -O3 "
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
*)

open Domain
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/lazy/lazy3.ml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(* TEST
ocamlopt_flags += " -O3 "
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
*)

let f count =
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/lazy/lazy5.ml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(* TEST
ocamlopt_flags += " -O3 "
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
*)
let rec safe_force l =
try Lazy.force l with
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/lazy/lazy6.ml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(* TEST
ocamlopt_flags += " -O3 "
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
*)

let flag1 = Atomic.make false
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/lazy/lazy7.ml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(* TEST
ocamlopt_flags += " -O3 "
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
*)

let num_domains = 4
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/lazy/lazy8.ml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(* TEST
ocamlopt_flags += " -O3 "
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
*)

exception E
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/lf_skiplist/test_parallel.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
modules = "stubs.c"

* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
*)

external init_skiplist : unit -> unit = "init_skiplist"
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/lib-channels/refcounting.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* TEST
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
** expect
*)

Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/lib-dynlink-domains/main.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* TEST
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
*)

(* BACKPORT
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/lib-format/domains.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* TEST
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
*)

(** Test that domains stdout and stderr are flushed at domain exit *)
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/lib-format/mc_pr586_par.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* TEST
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
*)

let () =
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/lib-format/mc_pr586_par2.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* TEST
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
*)

let () =
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/lib-marshal/intext_par.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* TEST
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
modules = "intextaux_par.c"
*)

Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/lib-random/parallel.ml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(* TEST
include unix
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
** libunix
*** bytecode
*** native
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/lib-str/parallel.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* TEST
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
** hasstr
include str
*** bytecode
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/lib-sync/prodcons.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* TEST
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
*)

(* Classic producer-consumer *)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* TEST
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
** hassysthreads
include systhreads
*** bytecode
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(* TEST
include unix
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
** hasunix
*** not-windows
**** bytecode
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(* TEST
include unix
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
** hasunix
*** not-windows
**** bytecode
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/memory-model/publish.ml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(* TEST
modules="opt.ml barrier.ml hist.ml shared.ml run.ml outcome.ml"
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
** not-bsd
*** not-windows
**** bytecode
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/parallel/atomics.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* TEST
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
*)

type u = U of unit
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/parallel/backup_thread.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* TEST
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
** hasunix
include unix
*** bytecode
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/parallel/backup_thread_pipe.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* TEST
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
** hasunix
include unix
*** bytecode
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/parallel/constpromote.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* TEST
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
*)

(* when run with the bytecode debug runtime, this test
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/parallel/deadcont.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* TEST
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 effects: re-enable this test"
*)

(*
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/parallel/domain_dls.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* TEST
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
*)

let check_dls () =
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/parallel/domain_dls2.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* TEST
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
*)

let _ =
Expand Down
2 changes: 1 addition & 1 deletion ocaml/testsuite/tests/parallel/domain_id.ml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* TEST
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
*)

open Domain
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* TEST
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
*)

open Domain
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(* TEST
* skip
reason = "OCaml 5 only"
reason = "CR ocaml 5 domains: re-enable this test"
*)

open Domain
Expand Down
Loading