Skip to content

test_python_module tests failing due to missing PYTHON environment variable #180

@jengelh

Description

@jengelh
$ ./configure --disable-static --disable-rpath --enable-wide-character-type --enable-python PYTHON_VERSION=3.8
[...]
$ grep ^PYTHON.= Makefile
PYTHON = python3.8

Within libewf-20230212, make itself knows the right Python interpreter. However, this make variable is not exported. As a result, when make check invokes test_python_module.sh, the environment has no PYTHON set, and test_python_modules.sh then defaults to usr /usr/bin/python. In my case, /usr/bin/python is a different Python version (2.7) and refuses to load the just-built pyewf.so.

If I add export PYTHON to tests/Makefile.am, the check job succeeds with no failures.

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