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 20, 2024
1 parent 5955112 commit b81a8f3
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 81 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)))
72 changes: 9 additions & 63 deletions test/passing/dune.inc
Original file line number Diff line number Diff line change
Expand Up @@ -8028,163 +8028,109 @@
(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 %{dep:tests/modes.ml})))))
(run %{bin:ocamlformat} --margin-check %{dep:tests/modes.ml}))))

(rule
(alias runtest)
(package ocamlformat)
(action (diff tests/modes.ml.ref 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.ml.js-stdout
(with-stderr-to modes.ml.js-stderr
(run %{bin:ocamlformat} --profile=janestreet --enable-outside-detected-project --disable-conf-files %{dep:tests/modes.ml})))))
(run %{bin:ocamlformat} --profile=janestreet --enable-outside-detected-project --disable-conf-files %{dep:tests/modes.ml}))))

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

(rule
(alias runtest)
(package ocamlformat)
(action (diff tests/modes.ml.js-err modes.ml.js-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 %{dep:tests/modes_attrs.ml})))))
(run %{bin:ocamlformat} --margin-check %{dep:tests/modes_attrs.ml}))))

(rule
(alias runtest)
(package ocamlformat)
(action (diff tests/modes_attrs.ml.ref 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_attrs.ml.js-stdout
(with-stderr-to modes_attrs.ml.js-stderr
(run %{bin:ocamlformat} --profile=janestreet --enable-outside-detected-project --disable-conf-files %{dep:tests/modes_attrs.ml})))))
(run %{bin:ocamlformat} --profile=janestreet --enable-outside-detected-project --disable-conf-files %{dep:tests/modes_attrs.ml}))))

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

(rule
(alias runtest)
(package ocamlformat)
(action (diff tests/modes_attrs.ml.js-err modes_attrs.ml.js-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 %{dep:tests/modes_cmts.ml})))))
(run %{bin:ocamlformat} --margin-check %{dep:tests/modes_cmts.ml}))))

(rule
(alias runtest)
(package ocamlformat)
(action (diff tests/modes_cmts.ml.ref 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.ml.js-stdout
(with-stderr-to modes_cmts.ml.js-stderr
(run %{bin:ocamlformat} --profile=janestreet --enable-outside-detected-project --disable-conf-files %{dep:tests/modes_cmts.ml})))))
(run %{bin:ocamlformat} --profile=janestreet --enable-outside-detected-project --disable-conf-files %{dep:tests/modes_cmts.ml}))))

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

(rule
(alias runtest)
(package ocamlformat)
(action (diff tests/modes_cmts.ml.js-err modes_cmts.ml.js-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 %{dep:tests/modes_cmts_move.ml})))))
(run %{bin:ocamlformat} --margin-check %{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 modes_cmts_move.ml.js-stdout
(with-stderr-to modes_cmts_move.ml.js-stderr
(run %{bin:ocamlformat} --profile=janestreet --enable-outside-detected-project --disable-conf-files %{dep:tests/modes_cmts_move.ml})))))
(run %{bin:ocamlformat} --profile=janestreet --enable-outside-detected-project --disable-conf-files %{dep:tests/modes_cmts_move.ml}))))

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

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

(rule
(deps tests/.ocamlformat )
(package ocamlformat)
Expand Down

0 comments on commit b81a8f3

Please sign in to comment.