Skip to content

Commit

Permalink
Use the new output option in qcheck-stm tests
Browse files Browse the repository at this point in the history
  • Loading branch information
n-osborne committed Sep 18, 2023
1 parent 1f7f070 commit 6227a5f
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions plugins/qcheck-stm/test/dune
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@
qcheck-stm
(with-stderr-to
array_errors
(with-stdout-to
%{target}
(run ortac qcheck-stm %{dep:array.mli} "make 16 'a'" "char t"))))))
(run ortac qcheck-stm %{dep:array.mli} "make 16 'a'" "char t" -o %{target})))))

(rule
(alias runtest)
Expand Down Expand Up @@ -108,14 +106,12 @@
qcheck-stm
(with-stderr-to
hashtbl_errors
(with-stdout-to
%{target}
(run
ortac
qcheck-stm
%{dep:hashtbl.mli}
"create ~random:false 16"
"(char, int) t"))))))
"(char, int) t" -o %{target})))))

(rule
(alias runtest)
Expand Down Expand Up @@ -163,9 +159,7 @@
qcheck-stm
(with-stderr-to
record_errors
(with-stdout-to
%{target}
(run ortac qcheck-stm %{dep:record.mli} "make 42" "t"))))))
(run ortac qcheck-stm %{dep:record.mli} "make 42" "t" -o %{target})))))

(rule
(alias runtest)
Expand Down Expand Up @@ -213,9 +207,7 @@
qcheck-stm
(with-stderr-to
ref_errors
(with-stdout-to
%{target}
(run ortac qcheck-stm %{dep:ref.mli} "make 42" "t"))))))
(run ortac qcheck-stm %{dep:ref.mli} "make 42" "t" -o %{target})))))

(rule
(alias runtest)
Expand Down

0 comments on commit 6227a5f

Please sign in to comment.