dgibson / dtc

Device Tree Compiler
219 stars 130 forks source link

Python test suite fails #60

Closed rossburton closed 1 year ago

rossburton commented 2 years ago

With current master the Python test suite fails:

FAIL: testHeader (__main__.PyLibfdtBasicTests)
Test that we can access the header values
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./pylibfdt_tests.py", line 295, in testHeader
    self.assertEqual(self.fdt.size_dt_strings(), 105)
AssertionError: 97 != 105
dgibson commented 2 years ago

Is this related to the PY_SSIZE_T thing? This is a different error, but now that I've applied that fix, the testsuite is passing for me.

rossburton commented 2 years ago

No, it's fixed by "pylibfdt_tests: Don't depend on built dtbs" patch from Rob. Depending on how you run the tests changes the DTBs that are used.

dgibson commented 1 year ago

Last comment seems to imply this is fixed, so closing.