From 41fd73b8005d840590927434ad8a7c95e4d26e45 Mon Sep 17 00:00:00 2001 From: Thibaut Date: Fri, 4 Jun 2021 17:01:58 +0200 Subject: [PATCH] Make the test run for `spin` only --- dune-project | 2 +- opam-spin.opam | 2 +- spin.opam | 2 +- test/dune | 1 + test_bin/failure/dune | 1 + test_template/dune | 1 + 6 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dune-project b/dune-project index 462fecb1..bad30285 100644 --- a/dune-project +++ b/dune-project @@ -1,4 +1,4 @@ -(lang dune 2.7) +(lang dune 2.8) (name spin) diff --git a/opam-spin.opam b/opam-spin.opam index 4d6e8059..86aeb422 100644 --- a/opam-spin.opam +++ b/opam-spin.opam @@ -10,7 +10,7 @@ doc: "https://tmattio.github.io/spin/" bug-reports: "https://github.com/tmattio/spin/issues" depends: [ "ocaml" {>= "4.10.0"} - "dune" {>= "2.7"} + "dune" {>= "2.8"} "spin" {= version} "odoc" {with-doc} ] diff --git a/spin.opam b/spin.opam index e44b4c24..8ebe92c6 100644 --- a/spin.opam +++ b/spin.opam @@ -10,7 +10,7 @@ doc: "https://tmattio.github.io/spin/" bug-reports: "https://github.com/tmattio/spin/issues" depends: [ "ocaml" {>= "4.10.0"} - "dune" {>= "2.7"} + "dune" {>= "2.8"} "alcotest" {with-test} "js_of_ocaml" {with-test} "js_of_ocaml-ppx" {with-test} diff --git a/test/dune b/test/dune index 82fe78e3..67d49871 100644 --- a/test/dune +++ b/test/dune @@ -6,6 +6,7 @@ (:standard \ test_runner))) (test + (package spin) (name test_runner) (libraries spin_test) (modules test_runner)) diff --git a/test_bin/failure/dune b/test_bin/failure/dune index 374d55c8..f6e66cca 100644 --- a/test_bin/failure/dune +++ b/test_bin/failure/dune @@ -1,4 +1,5 @@ (cram + (package spin) (applies_to :whole_subtree) (deps %{bin:spin}) (enabled_if true)) diff --git a/test_template/dune b/test_template/dune index 51b08bee..4bcd3b5b 100644 --- a/test_template/dune +++ b/test_template/dune @@ -1,4 +1,5 @@ (cram + (package spin) (applies_to :whole_subtree) (deps %{bin:spin}) (enabled_if false))