[Git][reproducible-builds/diffoscope][master] Fix compatibility with Ocaml 5.4.1.

Chris Lamb (@lamby) gitlab at salsa.debian.org
Fri Jun 19 16:13:29 UTC 2026



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
50476c66 by Chris Lamb at 2026-06-19T09:13:19-07:00
Fix compatibility with Ocaml 5.4.1.

- - - - -


2 changed files:

- tests/comparators/test_ocaml.py
- tests/data/ocaml_expected_diff


Changes:

=====================================
tests/comparators/test_ocaml.py
=====================================
@@ -72,7 +72,7 @@ def test_no_differences(cmi1):
     assert difference is None
 
 
- at skip_unless_tool_is_at_least("ocamlobjinfo", ocaml_version, "4.11")
+ at skip_unless_tool_is_at_least("ocamlobjinfo", ocaml_version, "5.4.1")
 def test_diff(differences):
     assert_diff_startswith(differences[0], "ocaml_expected_diff")
 


=====================================
tests/data/ocaml_expected_diff
=====================================
@@ -1,4 +1,9 @@
-@@ -1,5 +1,5 @@
+@@ -1,6 +1,6 @@
 -Unit name: Test1
 +Unit name: Test2
+ Flags: [ Alerts _ ]
  Interfaces imported:
+-	351c2dc2fb4a56dac258b47c26262db6	Test1
++	ac02205dc900024a67ede9f394c59d72	Test2
+ 	8d797bdbce78b02196f5124ffdf821f4	Stdlib
+ 	d36fdcde5aeb0f3274fcde2ca4b10edd	CamlinternalFormatBasics



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/50476c6608768306da9a10e28f83caef86125ff6

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/50476c6608768306da9a10e28f83caef86125ff6
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20260619/63448239/attachment.htm>


More information about the rb-commits mailing list