Skip to content

Investigate enabling the test suite #2

Description

@CyrilBrulebois

Trying to update the packaging from 16.1.y to 16.2.y required changing the buildsystem at the debhelper level, which had some side effects, including:

  • make clean running (and failing): that was fixed;
  • make test running and failing: that's what that issue is about.

There are two main problems here:

  • the frida-tools test fails because it cannot find the frida Python module, even if PYTHONPATH points to it;
  • the frida-python test fails because of some Cancellable attribute that's supposedly not available.

Even if the first part was resolved, we would immediately stumble onto the second part, which happens as soon as import frida happens. It can be reproduced via the following at the top level:

PYTHONPATH=$(pwd)/subprojects/frida-python ipython3

It's better with the following though:

PYTHONPATH=$(pwd)/build/subprojects/frida-python/ ipython3

So maybe this might be about some issue with the test suite confusing the source and build directories? In any case, setting PYTHONPATH via the environment doesn't help as far as make test is concerned, inside or outside the Debian package build process, and the following fails just the same:

PYTHONPATH=$(pwd)/build/subprojects/frida-python/ make test

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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