Quantcast
Channel: OCaml - Topics tagged dune
Viewing all articles
Browse latest Browse all 529

Dune runtest does not seem to work

$
0
0

@Tie_Cheng wrote:

Hello,

I want to install and test this code: https://github.com/astahfrom/prettiest.

After downloading the source code, I did 1) dune upgrade, 2) replaced ~cmp by ~compare in one place, 3) removed quick from test/dune because of deprecated: Gen.recursive.

Then, dune runtest did not generate any files or errors. I modified values inside “[%expect {| … |}]”, it did not raise any error either. Here is test/dune:

(library
 (name prettiest_tests)
 (modules sexpr pretty_type)
 (library_flags -linkall)
 (libraries core prettiest)
 (preprocess
  (pps ppx_jane)))

(executable
 (name runner)
 (modules runner)
 (libraries prettiest_tests ppx_expect.evaluator ppx_inline_test.runner.lib))

(alias
 (name runtest)
 (deps
  (:< runner.exe))
 (action
  (chdir
   %{workspace_root}
   (run %{<} inline-test-runner prettiest_tests))))

Does anyone know how to make the tests run?

Posts: 6

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 529

Trending Articles