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.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192283):
https://lists.openembedded.org/g/openembedded-core/message/192283
Mute This Topic: https://lists.openembedded.org/mt/103147277/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-