Skip to content

Commit

Permalink
Temporary commit to get github ci to report errors.
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Del Vecchio <tdelvecchio@janestreet.com>
  • Loading branch information
tdelvecchio-jsc committed Jun 7, 2024
1 parent 74ac4b7 commit 4fae337
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 49 deletions.
37 changes: 19 additions & 18 deletions test/passing/dune
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
(include dune.inc)

(rule
(deps
(source_tree .))
(package ocamlformat)
(enabled_if
(<> %{os_type} Win32))
(action
(with-stdout-to
dune.inc.gen
(run ./gen/gen.exe))))

(rule
(alias runtest)
(package ocamlformat)
(enabled_if
(<> %{os_type} Win32))
(action
(diff dune.inc dune.inc.gen)))
; CR tdelvecchio: Uncomment
;(rule
; (deps
; (source_tree .))
; (package ocamlformat)
; (enabled_if
; (<> %{os_type} Win32))
; (action
; (with-stdout-to
; dune.inc.gen
; (run ./gen/gen.exe))))
;
;(rule
; (alias runtest)
; (package ocamlformat)
; (enabled_if
; (<> %{os_type} Win32))
; (action
; (diff dune.inc dune.inc.gen)))
37 changes: 6 additions & 31 deletions test/passing/dune.inc
Original file line number Diff line number Diff line change
Expand Up @@ -4082,98 +4082,73 @@
(package ocamlformat)
(action
(with-stdout-to modes-ocaml_version.ml.stdout
(with-stderr-to modes-ocaml_version.ml.stderr
(run %{bin:ocamlformat} --margin-check --ocaml-version=4.14.0 %{dep:tests/modes.ml})))))
(run %{bin:ocamlformat} --margin-check --ocaml-version=4.14.0 %{dep:tests/modes.ml}))))

(rule
(alias runtest)
(package ocamlformat)
(action (diff tests/modes-ocaml_version.ml.ref modes-ocaml_version.ml.stdout)))

(rule
(alias runtest)
(package ocamlformat)
(action (diff tests/modes-ocaml_version.ml.err modes-ocaml_version.ml.stderr)))

(rule
(deps tests/.ocamlformat )
(package ocamlformat)
(action
(with-stdout-to modes.ml.stdout
(with-stderr-to modes.ml.stderr
(run %{bin:ocamlformat} --margin-check --profile=janestreet %{dep:tests/modes.ml})))))
(run %{bin:ocamlformat} --margin-check --profile=janestreet %{dep:tests/modes.ml}))))

(rule
(alias runtest)
(package ocamlformat)
(action (diff tests/modes.ml modes.ml.stdout)))

(rule
(alias runtest)
(package ocamlformat)
(action (diff tests/modes.ml.err modes.ml.stderr)))

(rule
(deps tests/.ocamlformat )
(package ocamlformat)
(action
(with-stdout-to modes_attrs.ml.stdout
(with-stderr-to modes_attrs.ml.stderr
(run %{bin:ocamlformat} --margin-check --profile=janestreet %{dep:tests/modes_attrs.ml})))))
(run %{bin:ocamlformat} --margin-check --profile=janestreet %{dep:tests/modes_attrs.ml}))))

(rule
(alias runtest)
(package ocamlformat)
(action (diff tests/modes_attrs.ml modes_attrs.ml.stdout)))

(rule
(alias runtest)
(package ocamlformat)
(action (diff tests/modes_attrs.ml.err modes_attrs.ml.stderr)))

(rule
(deps tests/.ocamlformat )
(package ocamlformat)
(action
(with-stdout-to modes_cmts.ml.stdout
(with-stderr-to modes_cmts.ml.stderr
(run %{bin:ocamlformat} --margin-check --profile=janestreet %{dep:tests/modes_cmts.ml})))))
(run %{bin:ocamlformat} --margin-check --profile=janestreet %{dep:tests/modes_cmts.ml}))))

(rule
(alias runtest)
(package ocamlformat)
(action (diff tests/modes_cmts.ml modes_cmts.ml.stdout)))

(rule
(alias runtest)
(package ocamlformat)
(action (diff tests/modes_cmts.ml.err modes_cmts.ml.stderr)))

(rule
(deps tests/.ocamlformat )
(package ocamlformat)
(action
(with-stdout-to modes_cmts_move.ml.stdout
(with-stderr-to modes_cmts_move.ml.stderr
(run %{bin:ocamlformat} --margin-check --profile=janestreet %{dep:tests/modes_cmts_move.ml})))))
(run %{bin:ocamlformat} --margin-check --profile=janestreet %{dep:tests/modes_cmts_move.ml}))))

(rule
(alias runtest)
(package ocamlformat)
(action (diff tests/modes_cmts_move.ml.ref modes_cmts_move.ml.stdout)))

(rule
(alias runtest)
(package ocamlformat)
(action (diff tests/modes_cmts_move.ml.err modes_cmts_move.ml.stderr)))

(rule
(deps tests/.ocamlformat )
(package ocamlformat)
(action
(with-stdout-to module.ml.stdout
(with-stderr-to module.ml.stderr
(run %{bin:ocamlformat} --margin-check %{dep:tests/module.ml})))))
(run %{bin:ocamlformat} --margin-check %{dep:tests/module.ml})))))

(rule
(alias runtest)
Expand Down

0 comments on commit 4fae337

Please sign in to comment.