Skip to content

Commit

Permalink
disable all the tests for opam
Browse files Browse the repository at this point in the history
Signed-off-by: Rudi Grinberg <[email protected]>
  • Loading branch information
rgrinberg committed Mar 7, 2020
1 parent f12bf06 commit 77ae766
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 57 deletions.
3 changes: 1 addition & 2 deletions atdgen-codec-runtime.opam
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ depends: [
"dune" {>= "1.11"}
"ocaml" {>= "4.02"}
]
dev-repo: "git+https://github.com/ahrefs/atd.git"
build: [
["dune" "subst"] {pinned}
[
Expand All @@ -38,8 +39,6 @@ build: [
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/ahrefs/atd.git"
3 changes: 1 addition & 2 deletions atdgen-runtime.opam
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ depends: [
"biniou" {>= "1.0.6"}
"re"
]
dev-repo: "git+https://github.com/ahrefs/atd.git"
build: [
["dune" "subst"] {pinned}
[
Expand All @@ -41,8 +42,6 @@ build: [
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/ahrefs/atd.git"
3 changes: 1 addition & 2 deletions atdgen.opam
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ depends: [
"biniou" {>= "1.0.6"}
"yojson" {>= "1.7.0"}
]
dev-repo: "git+https://github.com/ahrefs/atd.git"
build: [
["dune" "subst"] {pinned}
[
Expand All @@ -51,8 +52,6 @@ build: [
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/ahrefs/atd.git"
5 changes: 2 additions & 3 deletions atdgen/test/dune
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,11 @@

(rule
(targets test_annot_error.stderr)
(deps test_annot_error.atd)
(deps (:atd test_annot_error.atd) %{bin:atdgen})
(action
(with-stderr-to test_annot_error.stderr
(with-stdout-to test_annot_error.stdout
(bash "%{bin:atdgen} -t %{deps} || echo 'Failed succesfully!'")))))
(bash "%{bin:atdgen} -t %{atd} || echo 'Failed succesfully!'")))))

(alias
(name runtest)
Expand Down Expand Up @@ -229,7 +229,6 @@
testj
testv
test_atdgen_main
test_atdgen_type_conv
test_lib))

(alias
Expand Down
19 changes: 0 additions & 19 deletions atdgen/test/test_atdgen_type_conv.ml

This file was deleted.

13 changes: 0 additions & 13 deletions atdgen/test/test_type_conv.atd

This file was deleted.

13 changes: 0 additions & 13 deletions atdj.opam.template

This file was deleted.

3 changes: 1 addition & 2 deletions atds.opam
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ depends: [
"atd" {>= "2.0.0"}
"re"
]
dev-repo: "git+https://github.com/ahrefs/atd.git"
build: [
["dune" "subst"] {pinned}
[
Expand All @@ -38,8 +39,6 @@ build: [
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/ahrefs/atd.git"
8 changes: 7 additions & 1 deletion dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,10 @@
;; disable warnings against "Innocuous unused variables"
;; enforce the separation between types `string` and `bytes`
(dev (flags :standard -w -27 -safe-string))
(release (flags :standard -w -27 -safe-string)))
(release (flags :standard -w -27 -safe-string)))

(rule (copy atd.opam.template atdgen-codec-runtime.opam.template))
(rule (copy atd.opam.template atdgen-runtime.opam.template))
(rule (copy atd.opam.template atdgen.opam.template))
(rule (copy atd.opam.template atdj.opam.template))
(rule (copy atd.opam.template atds.opam.template))

0 comments on commit 77ae766

Please sign in to comment.