From 521f543d23e6081ff13e1abf468e55c7c02f15cd Mon Sep 17 00:00:00 2001 From: Etienne Millon Date: Wed, 18 Jan 2023 16:21:52 +0100 Subject: [PATCH] bls12-381*: disable test suite on ocaml 5 The random number generator has changed in OCaml 5.0.0 and the test suite has different expected values depending on the version. There is a patch upstream that has been applied in later versions. --- packages/bls12-381-unix/bls12-381-unix.1.1.0/opam | 2 +- packages/bls12-381-unix/bls12-381-unix.1.1.1/opam | 2 +- packages/bls12-381-unix/bls12-381-unix.2.0.0/opam | 2 +- packages/bls12-381-unix/bls12-381-unix.2.0.1/opam | 4 ++-- packages/bls12-381/bls12-381.3.0.0/opam | 2 +- packages/bls12-381/bls12-381.3.0.1/opam | 2 +- packages/bls12-381/bls12-381.3.0.2/opam | 4 ++-- packages/bls12-381/bls12-381.3.0.3/opam | 4 ++-- packages/bls12-381/bls12-381.4.0.0/opam | 4 ++-- packages/bls12-381/bls12-381.5.0.0/opam | 4 ++-- packages/bls12-381/bls12-381.6.0.0/opam | 2 +- 11 files changed, 16 insertions(+), 16 deletions(-) diff --git a/packages/bls12-381-unix/bls12-381-unix.1.1.0/opam b/packages/bls12-381-unix/bls12-381-unix.1.1.0/opam index f73941e0a15..51e5ba63550 100644 --- a/packages/bls12-381-unix/bls12-381-unix.1.1.0/opam +++ b/packages/bls12-381-unix/bls12-381-unix.1.1.0/opam @@ -25,7 +25,7 @@ x-ci-accept-failures: [ "oraclelinux-7" # default C compiler too old? ] build: ["dune" "build" "-j" jobs "-p" name "@install"] -run-test: ["dune" "runtest" "-p" name "-j" jobs] +run-test: ["dune" "runtest" "-p" name "-j" jobs] { ocaml:version < "5.0.0" } dev-repo: "git+https://gitlab.com/dannywillems/ocaml-bls12-381.git" url { src: diff --git a/packages/bls12-381-unix/bls12-381-unix.1.1.1/opam b/packages/bls12-381-unix/bls12-381-unix.1.1.1/opam index c8134910341..859518f1e4f 100644 --- a/packages/bls12-381-unix/bls12-381-unix.1.1.1/opam +++ b/packages/bls12-381-unix/bls12-381-unix.1.1.1/opam @@ -21,7 +21,7 @@ depends: [ ] available: arch != "ppc64" build: ["dune" "build" "-j" jobs "-p" name "@install"] -run-test: ["dune" "runtest" "-p" name "-j" jobs] +run-test: ["dune" "runtest" "-p" name "-j" jobs] { ocaml:version < "5.0.0" } dev-repo: "git+https://gitlab.com/dannywillems/ocaml-bls12-381.git" url { src: diff --git a/packages/bls12-381-unix/bls12-381-unix.2.0.0/opam b/packages/bls12-381-unix/bls12-381-unix.2.0.0/opam index f3061bbb894..2fff2b8515a 100644 --- a/packages/bls12-381-unix/bls12-381-unix.2.0.0/opam +++ b/packages/bls12-381-unix/bls12-381-unix.2.0.0/opam @@ -22,7 +22,7 @@ depends: [ ] available: arch != "ppc64" & arch != "arm32" & arch != "x86_32" build: ["dune" "build" "-j" jobs "-p" name "@install"] -run-test: ["dune" "runtest" "-p" name "-j" jobs] +run-test: ["dune" "runtest" "-p" name "-j" jobs] { ocaml:version < "5.0.0" } dev-repo: "git+https://gitlab.com/dannywillems/ocaml-bls12-381.git" url { src: diff --git a/packages/bls12-381-unix/bls12-381-unix.2.0.1/opam b/packages/bls12-381-unix/bls12-381-unix.2.0.1/opam index 3675405bb47..43731516033 100644 --- a/packages/bls12-381-unix/bls12-381-unix.2.0.1/opam +++ b/packages/bls12-381-unix/bls12-381-unix.2.0.1/opam @@ -21,7 +21,7 @@ depends: [ ] available: arch != "ppc64" & arch != "arm32" & arch != "x86_32" build: ["dune" "build" "-j" jobs "-p" name "@install"] -run-test: ["dune" "runtest" "-p" name "-j" jobs] +run-test: ["dune" "runtest" "-p" name "-j" jobs] { ocaml:version < "5.0.0" } dev-repo: "git+https://gitlab.com/dannywillems/ocaml-bls12-381.git" url { src: @@ -31,4 +31,4 @@ url { "sha512=994ac11cb76b0d83592cfb6b7a6d6f488a5d9c525d9bc1ccd81e797ee56c0e0b9a00d889118b4e5a01282d332d63d94d32ccbb6e063a28c1c53fecbea23dbef6" ] } -x-ci-accept-failures: ["centos-7" "oraclelinux-7"] \ No newline at end of file +x-ci-accept-failures: ["centos-7" "oraclelinux-7"] diff --git a/packages/bls12-381/bls12-381.3.0.0/opam b/packages/bls12-381/bls12-381.3.0.0/opam index d2853733e8c..fb61603fe04 100644 --- a/packages/bls12-381/bls12-381.3.0.0/opam +++ b/packages/bls12-381/bls12-381.3.0.0/opam @@ -23,7 +23,7 @@ depends: [ available: arch != "ppc64" & arch != "arm32" & arch != "x86_32" x-ci-accept-failures: ["centos-7" "oraclelinux-7"] build: ["dune" "build" "-j" jobs "-p" name "@install"] -run-test: ["dune" "runtest" "-p" name "-j" jobs] +run-test: ["dune" "runtest" "-p" name "-j" jobs] { ocaml:version < "5.0.0" } dev-repo: "git+https://gitlab.com/nomadic-labs/cryptography/ocaml-bls12-381.git" url { src: diff --git a/packages/bls12-381/bls12-381.3.0.1/opam b/packages/bls12-381/bls12-381.3.0.1/opam index 74e18a70972..ad24d60cdac 100644 --- a/packages/bls12-381/bls12-381.3.0.1/opam +++ b/packages/bls12-381/bls12-381.3.0.1/opam @@ -23,7 +23,7 @@ depends: [ ] available: arch != "ppc64" & arch != "arm32" & arch != "x86_32" build: ["dune" "build" "-j" jobs "-p" name "@install"] -run-test: ["dune" "runtest" "-p" name "-j" jobs] +run-test: ["dune" "runtest" "-p" name "-j" jobs] { ocaml:version < "5.0.0" } dev-repo: "git+https://gitlab.com/nomadic-labs/cryptography/ocaml-bls12-381.git" url { src: diff --git a/packages/bls12-381/bls12-381.3.0.2/opam b/packages/bls12-381/bls12-381.3.0.2/opam index a88ad3b78aa..23eb4066227 100644 --- a/packages/bls12-381/bls12-381.3.0.2/opam +++ b/packages/bls12-381/bls12-381.3.0.2/opam @@ -22,7 +22,7 @@ depends: [ ] available: arch != "ppc64" & arch != "arm32" & arch != "x86_32" build: ["dune" "build" "-j" jobs "-p" name "@install"] -run-test: ["dune" "runtest" "-p" name "-j" jobs] +run-test: ["dune" "runtest" "-p" name "-j" jobs] { ocaml:version < "5.0.0" } dev-repo: "git+https://gitlab.com/nomadic-labs/cryptography/ocaml-bls12-381.git" url { src: @@ -32,4 +32,4 @@ url { "sha512=3622cdd98179091df3f563e3c5117313f1ad8e95d9f9713b6fe327b0b9ec404ea94499bf44309e377f189dfaf5adefd5b1aff0681bcb250bb08cb761415cafe6" ] } -x-ci-accept-failures: ["centos-7" "oraclelinux-7"] \ No newline at end of file +x-ci-accept-failures: ["centos-7" "oraclelinux-7"] diff --git a/packages/bls12-381/bls12-381.3.0.3/opam b/packages/bls12-381/bls12-381.3.0.3/opam index aaa5ab88999..9a127ffb943 100644 --- a/packages/bls12-381/bls12-381.3.0.3/opam +++ b/packages/bls12-381/bls12-381.3.0.3/opam @@ -22,7 +22,7 @@ depends: [ ] available: arch != "ppc64" & arch != "arm32" & arch != "x86_32" build: ["dune" "build" "-j" jobs "-p" name "@install"] -run-test: ["dune" "runtest" "-p" name "-j" jobs] +run-test: ["dune" "runtest" "-p" name "-j" jobs] { ocaml:version < "5.0.0" } dev-repo: "git+https://gitlab.com/nomadic-labs/cryptography/ocaml-bls12-381.git" url { src: @@ -32,4 +32,4 @@ url { "sha512=dd801c6c642f61191762df0619a9e4a05524b7b85b2cd1bd8ddcfebfe78fca39be571c8b6552d91d3ae149683948a577d08e3f896d688ca6aad0ed5dd15e5799" ] } -x-ci-accept-failures: ["centos-7" "oraclelinux-7"] \ No newline at end of file +x-ci-accept-failures: ["centos-7" "oraclelinux-7"] diff --git a/packages/bls12-381/bls12-381.4.0.0/opam b/packages/bls12-381/bls12-381.4.0.0/opam index e40e0393434..d619cac9df8 100644 --- a/packages/bls12-381/bls12-381.4.0.0/opam +++ b/packages/bls12-381/bls12-381.4.0.0/opam @@ -22,7 +22,7 @@ depends: [ ] available: arch != "ppc64" & arch != "arm32" & arch != "x86_32" build: ["dune" "build" "-j" jobs "-p" name "@install"] -run-test: ["dune" "runtest" "-p" name "-j" jobs] +run-test: ["dune" "runtest" "-p" name "-j" jobs] { ocaml:version < "5.0.0" } dev-repo: "git+https://gitlab.com/nomadic-labs/cryptography/ocaml-bls12-381.git" url { src: @@ -32,4 +32,4 @@ url { "sha512=8b1620f3ccde4017e6205d18c7040b26f3b5affbc71237ffc263fe2d625a7276e20b44617a632736f1426bcc8eb184705360506ff88f0f1ecb28c7a0514fef29" ] } -x-ci-accept-failures: ["centos-7" "oraclelinux-7"] \ No newline at end of file +x-ci-accept-failures: ["centos-7" "oraclelinux-7"] diff --git a/packages/bls12-381/bls12-381.5.0.0/opam b/packages/bls12-381/bls12-381.5.0.0/opam index fed72028032..777a054d762 100644 --- a/packages/bls12-381/bls12-381.5.0.0/opam +++ b/packages/bls12-381/bls12-381.5.0.0/opam @@ -22,7 +22,7 @@ depends: [ ] available: arch != "ppc64" & arch != "arm32" & arch != "x86_32" build: ["dune" "build" "-j" jobs "-p" name "@install"] -run-test: ["dune" "runtest" "-p" name "-j" jobs] +run-test: ["dune" "runtest" "-p" name "-j" jobs] { ocaml:version < "5.0.0" } dev-repo: "git+https://gitlab.com/nomadic-labs/cryptography/ocaml-bls12-381.git" url { src: @@ -32,4 +32,4 @@ url { "sha512=a11602f19275df4a5578eb8182c4507372f676f9ee4c21f02c0b5c96ab9b7d952668ee67578169b21eb88eb953fba1e189bad78fbefb3cd45266a32dd8ca17f7" ] } -x-ci-accept-failures: ["centos-7" "oraclelinux-7"] \ No newline at end of file +x-ci-accept-failures: ["centos-7" "oraclelinux-7"] diff --git a/packages/bls12-381/bls12-381.6.0.0/opam b/packages/bls12-381/bls12-381.6.0.0/opam index 1bdd981878c..220607e11c3 100644 --- a/packages/bls12-381/bls12-381.6.0.0/opam +++ b/packages/bls12-381/bls12-381.6.0.0/opam @@ -22,7 +22,7 @@ depends: [ ] available: arch != "ppc64" & arch != "arm32" & arch != "x86_32" build: ["dune" "build" "-j" jobs "-p" name "@install"] -run-test: ["dune" "runtest" "-p" name "-j" jobs] +run-test: ["dune" "runtest" "-p" name "-j" jobs] { ocaml:version < "5.0.0" } dev-repo: "git+https://gitlab.com/nomadic-labs/cryptography/ocaml-bls12-381.git" url { src: