Skip to content

Commit

Permalink
Run preprocesser before qtest
Browse files Browse the repository at this point in the history
Applies a change from upstream that fixes a bug in the test
configuration. Files weren't being preprocessed before qtest was being
run.
  • Loading branch information
gridbugs committed Mar 9, 2023
1 parent 9484302 commit 15f3446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
(name qtest_batteries)
(modules)
(inline_tests.backend
(generate_runner (run qtest extract --preamble-file %{project_root}/qtest/qtest_preamble.ml --quiet %{impl-files} %{intf-files}))
(generate_runner (pipe-stdout (run qtest extract --preamble-file %{dep:../qtest/qtest_preamble.ml} --quiet %{impl-files} %{intf-files}) (run ../build/prefilter.exe))) ; inline_tests gets unpreprocessed files, so apply prefilter here as well
(runner_libraries qcheck ounit2)
))

Expand Down

0 comments on commit 15f3446

Please sign in to comment.