Skip to content

Commit

Permalink
Make the test run for spin only
Browse files Browse the repository at this point in the history
  • Loading branch information
tmattio committed Jun 4, 2021
1 parent e2396d7 commit 41fd73b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(lang dune 2.7)
(lang dune 2.8)

(name spin)

Expand Down
2 changes: 1 addition & 1 deletion opam-spin.opam
Original file line number Diff line number Diff line change
Expand Up @@ -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}
]
Expand Down
2 changes: 1 addition & 1 deletion spin.opam
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
1 change: 1 addition & 0 deletions test/dune
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
(:standard \ test_runner)))

(test
(package spin)
(name test_runner)
(libraries spin_test)
(modules test_runner))
Expand Down
1 change: 1 addition & 0 deletions test_bin/failure/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(cram
(package spin)
(applies_to :whole_subtree)
(deps %{bin:spin})
(enabled_if true))
1 change: 1 addition & 0 deletions test_template/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(cram
(package spin)
(applies_to :whole_subtree)
(deps %{bin:spin})
(enabled_if false))

0 comments on commit 41fd73b

Please sign in to comment.