[Git][reproducible-builds/diffoscope][master] Also conditionally skip the identification and "no differences" tests as we...
Chris Lamb
gitlab at salsa.debian.org
Tue Sep 17 10:16:05 UTC 2019
Chris Lamb pushed to branch master at Reproducible Builds / diffoscope
Commits:
bf83651d by Chris Lamb at 2019-09-17T10:08:15Z
Also conditionally skip the identification and "no differences" tests as we require the Ocaml compiler to be present when building the test files themselves. (Closes: #940471)
- - - - -
1 changed file:
- tests/comparators/test_ocaml.py
Changes:
=====================================
tests/comparators/test_ocaml.py
=====================================
@@ -57,6 +57,7 @@ def ocaml_version():
return out.decode('utf-8').split()[-1]
+ at skip_unless_tool_is_at_least('ocamlobjinfo', ocaml_version, '4.05.0')
def test_identification(cmi1):
assert isinstance(cmi1, OcamlInterfaceFile)
@@ -66,6 +67,7 @@ def differences(cmi1, cmi2):
return cmi1.compare(cmi2).details
+ at skip_unless_tool_is_at_least('ocamlobjinfo', ocaml_version, '4.05.0')
def test_no_differences(cmi1):
difference = cmi1.compare(cmi1)
assert difference is None
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/bf83651d62a9717feba892a4b01d8d7ec28bac49
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/bf83651d62a9717feba892a4b01d8d7ec28bac49
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20190917/f06a80a2/attachment.html>
More information about the rb-commits
mailing list