Skip to content

Commit

Permalink
Remove _510 versions of expect test output
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Rebours <[email protected]>
  • Loading branch information
NathanReb committed Feb 7, 2024
1 parent 8412e03 commit 117ee2c
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 1,555 deletions.
22 changes: 1 addition & 21 deletions test/base/dune
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
(rule
(alias runtest)
(enabled_if
(and
(>= %{ocaml_version} "4.09.0")
(< %{ocaml_version} "5.1.0")))
(>= %{ocaml_version} "4.09.0"))
(deps
(:test test.ml)
(package ppxlib))
Expand All @@ -13,21 +11,3 @@
(progn
(run expect-test %{test})
(diff? %{test} %{test}.corrected)))))

(rule
(alias runtest)
(enabled_if
(>= %{ocaml_version} "5.1.0"))
(deps
(:test test.ml)
(:t test_510.ml)
(package ppxlib))
(action
(chdir
%{project_root}
(progn
(run mv %{t} %{t}.old)
(run cp %{test} %{t})
(run expect-test %{t})
(run mv %{t}.old %{t})
(diff? %{t} %{t}.corrected)))))
180 changes: 0 additions & 180 deletions test/base/test_510.ml

This file was deleted.

22 changes: 1 addition & 21 deletions test/deriving/dune
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
(rule
(alias runtest)
(enabled_if
(and
(>= %{ocaml_version} "4.10.0")
(< %{ocaml_version} "5.1.0")))
(>= %{ocaml_version} "4.10.0"))
(deps
(:test test.ml)
(package ppxlib))
Expand All @@ -13,21 +11,3 @@
(progn
(run expect-test %{test})
(diff? %{test} %{test}.corrected)))))

(rule
(alias runtest)
(enabled_if
(>= %{ocaml_version} "5.1.0"))
(deps
(:test test.ml)
(:t test_510.ml)
(package ppxlib))
(action
(chdir
%{project_root}
(progn
(run mv %{t} %{t}.old)
(run cp %{test} %{t})
(run expect-test %{t})
(run mv %{t}.old %{t})
(diff? %{t} %{t}.corrected)))))
80 changes: 0 additions & 80 deletions test/deriving/test_510.ml

This file was deleted.

22 changes: 1 addition & 21 deletions test/driver/attributes/dune
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
(rule
(alias runtest)
(enabled_if
(and
(>= %{ocaml_version} "4.08.0")
(< %{ocaml_version} "5.1.0")))
(>= %{ocaml_version} "4.08.0"))
(deps
(:test test.ml)
(package ppxlib))
Expand All @@ -13,21 +11,3 @@
(progn
(run expect-test %{test})
(diff? %{test} %{test}.corrected)))))

(rule
(alias runtest)
(enabled_if
(>= %{ocaml_version} "5.1.0"))
(deps
(:test test.ml)
(:t test_510.ml)
(package ppxlib))
(action
(chdir
%{project_root}
(progn
(run mv %{t} %{t}.old)
(run cp %{test} %{t})
(run expect-test %{t})
(run mv %{t}.old %{t})
(diff? %{t} %{t}.corrected)))))
Loading

0 comments on commit 117ee2c

Please sign in to comment.