Skip to content

Test suite fails #7

@ejgallego

Description

@ejgallego

Dear @thierry-martinez ,

dune runtest fails in main with:

/external/ocaml-in-python$ dune runtest
File "tests/examples/dune", line 6, characters 0-262:
 6 | (rule
 7 |   (alias runtest)
 8 |   (deps
 9 |      examples.py
10 | ;    examples.cmxs
11 |      ../../ocaml/ocaml_in_python.so
12 |      ../../ocaml/__init__.py)
13 |   (action
14 |    (setenv PYTHONPATH %{workspace_root}:%{env:PYTHONPATH=}
15 |    (run %{read-lines:../../python3-command} examples.py))))
Hello, world!
2
Node {label="a";children=[Node {label="b";children=[Node {label="c";children=[]}]}]}
Stdlib.Invalid_argument("of_list")
Traceback (most recent call last):
  File "/home/egallego/external/ocaml-in-python/_build/default/tests/examples/examples.py", line 41, in <module>
    from ocaml import Parmap
ImportError: Py.Err(10, "Py.Err(10, \"Dynlink.Error (Dynlink.Cannot_open_dll \\\"Dynlink.Error (Dynlink.Cannot_open_dll \\\\\\\"Failure(\\\\\\\\\\\\\\\"/tmp/build_0ae923_dune/ocaml-in-python4c7753.so: undefined symbol: camlParmap\\\\\\\\\\\\\\\")\\\\\\\")\\\")\")")

That could be a duplicate of #6 , but signalling separately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions