Debian Codegraph @

test/blackbox-tests/test-cases/stanzas/mdx-stanza/linked-libraries.t/run.t

raw
1 Since 0.2 you can use the `libraries` field to have them linked into the test executable
2
3 $ cat >dune-project <<EOF
4 > (lang dune 3.0)
5 > (using mdx 0.2)
6 > (cram disable)
7 > EOF
8
9 $ dune runtest
10
11 MDX stanza 0.1 does not support linking libraries
12
13 $ cat >dune-project <<EOF
14 > (lang dune 2.8)
15 > (using mdx 0.1)
16 > EOF
17
18 $ dune runtest
19 File "dune", line 3, characters 1-24:
20 3 | (libraries private_lib))
21 ^^^^^^^^^^^^^^^^^^^^^^^
22 Error: 'libraries' is only available since version 0.2 of mdx extension to
23 verify code blocks in .md files. Please update your dune-project file to have
24 (using mdx 0.2).
25 [1]