Skip to content

Commit

Permalink
atd*.2.1.0: restrict tests to their package
Browse files Browse the repository at this point in the history
  • Loading branch information
pirbo committed Feb 24, 2020
1 parent cc97f2b commit 745b87d
Show file tree
Hide file tree
Showing 8 changed files with 84 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff -u -r atd-2.1.0/atdgen/test/spec_js/dune fixed-atd-2.1.0/atdgen/test/spec_js/dune
--- atd-2.1.0/atdgen/test/spec_js/dune 2019-12-04 07:48:48.000000000 +0100
+++ fixed-atd-2.1.0/atdgen/test/spec_js/dune 2020-02-24 15:16:05.827796462 +0100
@@ -34,6 +34,7 @@

(alias
(name runtest)
+ (package atdgen)
(action (diff spec_j.expected.json spec_j.json)))

(rule
@@ -42,4 +43,5 @@

(alias
(name runtest)
+ (package atdgen)
(action (diff spec_bs.expected.json spec_bs.json)))
4 changes: 4 additions & 0 deletions packages/atdgen-codec-runtime/atdgen-codec-runtime.2.1.0/opam
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ depends: [
"dune" {>= "1.11"}
"ocaml" {>= "4.02"}
]
patches: ["restrict-tests.diff"]
build: [
["dune" "subst"] {pinned}
[
Expand All @@ -42,6 +43,9 @@ build: [
]
]
dev-repo: "git+https://github.com/ahrefs/atd.git"
extra-files: [
[ "restrict-tests.diff" "sha256=30240d783c3e10d38fb1503adbe77154a81c1617d81c622e4de91b3c446ab775"]
]
url {
src: "https://github.com/ahrefs/atd/releases/download/2.1.0/atd-2.1.0.tbz"
checksum: [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff -u -r atd-2.1.0/atdgen/test/spec_js/dune fixed-atd-2.1.0/atdgen/test/spec_js/dune
--- atd-2.1.0/atdgen/test/spec_js/dune 2019-12-04 07:48:48.000000000 +0100
+++ fixed-atd-2.1.0/atdgen/test/spec_js/dune 2020-02-24 15:16:05.827796462 +0100
@@ -34,6 +34,7 @@

(alias
(name runtest)
+ (package atdgen)
(action (diff spec_j.expected.json spec_j.json)))

(rule
@@ -42,4 +43,5 @@

(alias
(name runtest)
+ (package atdgen)
(action (diff spec_bs.expected.json spec_bs.json)))
4 changes: 4 additions & 0 deletions packages/atdgen-runtime/atdgen-runtime.2.1.0/opam
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ depends: [
"biniou" {>= "1.0.6"}
"re"
]
patches: ["restrict-tests.diff"]
build: [
["dune" "subst"] {pinned}
[
Expand All @@ -45,6 +46,9 @@ build: [
]
]
dev-repo: "git+https://github.com/ahrefs/atd.git"
extra-files: [
[ "restrict-tests.diff" "sha256=30240d783c3e10d38fb1503adbe77154a81c1617d81c622e4de91b3c446ab775"]
]
url {
src: "https://github.com/ahrefs/atd/releases/download/2.1.0/atd-2.1.0.tbz"
checksum: [
Expand Down
17 changes: 17 additions & 0 deletions packages/atdgen/atdgen.2.1.0/files/restrict-tests.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff -u -r atd-2.1.0/atdgen/test/spec_js/dune fixed-atd-2.1.0/atdgen/test/spec_js/dune
--- atd-2.1.0/atdgen/test/spec_js/dune 2019-12-04 07:48:48.000000000 +0100
+++ fixed-atd-2.1.0/atdgen/test/spec_js/dune 2020-02-24 15:16:05.827796462 +0100
@@ -34,6 +34,7 @@

(alias
(name runtest)
+ (package atdgen)
(action (diff spec_j.expected.json spec_j.json)))

(rule
@@ -42,4 +43,5 @@

(alias
(name runtest)
+ (package atdgen)
(action (diff spec_bs.expected.json spec_bs.json)))
4 changes: 4 additions & 0 deletions packages/atdgen/atdgen.2.1.0/opam
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ depends: [
"yojson" {>= "1.7.0"}
"atdgen-codec-runtime" {with-test}
]
patches: ["restrict-tests.diff"]
build: [
["dune" "subst"] {pinned}
[
Expand All @@ -55,6 +56,9 @@ build: [
]
]
dev-repo: "git+https://github.com/ahrefs/atd.git"
extra-files: [
[ "restrict-tests.diff" "sha256=30240d783c3e10d38fb1503adbe77154a81c1617d81c622e4de91b3c446ab775"]
]
url {
src: "https://github.com/ahrefs/atd/releases/download/2.1.0/atd-2.1.0.tbz"
checksum: [
Expand Down
17 changes: 17 additions & 0 deletions packages/atds/atds.2.1.0/files/restrict-tests.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff -u -r atd-2.1.0/atdgen/test/spec_js/dune fixed-atd-2.1.0/atdgen/test/spec_js/dune
--- atd-2.1.0/atdgen/test/spec_js/dune 2019-12-04 07:48:48.000000000 +0100
+++ fixed-atd-2.1.0/atdgen/test/spec_js/dune 2020-02-24 15:16:05.827796462 +0100
@@ -34,6 +34,7 @@

(alias
(name runtest)
+ (package atdgen)
(action (diff spec_j.expected.json spec_j.json)))

(rule
@@ -42,4 +43,5 @@

(alias
(name runtest)
+ (package atdgen)
(action (diff spec_bs.expected.json spec_bs.json)))
4 changes: 4 additions & 0 deletions packages/atds/atds.2.1.0/opam
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ depends: [
"atd" {>= "2.0.0"}
"re"
]
patches: ["restrict-tests.diff"]
build: [
["dune" "subst"] {pinned}
[
Expand All @@ -42,6 +43,9 @@ build: [
]
]
dev-repo: "git+https://github.com/ahrefs/atd.git"
extra-files: [
[ "restrict-tests.diff" "sha256=30240d783c3e10d38fb1503adbe77154a81c1617d81c622e4de91b3c446ab775"]
]
url {
src: "https://github.com/ahrefs/atd/releases/download/2.1.0/atd-2.1.0.tbz"
checksum: [
Expand Down

0 comments on commit 745b87d

Please sign in to comment.