Issue with relative DEPLOY_DIR in meta/lib/oeqa/runtime/cases/rpm.py
Greetings,
Using the latest poky master branch, I'm running:
bitbake -c testimage core-image-full-cmdline
I'm getting errors in the RPM tests:
AttributeError: 'RpmInstallRemoveTest' object has no attribute 'test_file'
Tracing the code, this happens because the code in rpm.py is trying to access DEPLOY_DIR/rpm, which is a relative path (tmp/deploy/rpm), and this path doesn't exist because I'm not running BitBake from TOPDIR. Of course, if I'm running BitBake from TOPDIR, the test works.
Why doesn't this module see an absolute path for DEPLOY_DIR, like the value I get from "bitbake-getvar"?
This would make the test modules more robust.
Thanks in advance
Cheers
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com