On 01/30/2015 09:09 AM, Burton, Ross wrote: > > On 30 January 2015 at 13:39, Markus Boos <markus.b...@kistler.com > <mailto:markus.b...@kistler.com>> wrote: > > We faced the problem that our image (built with ptest feature) > doesn't fit into our flash [1]. > I'd like to run the ptest on real hardware cause some packages need > the mounted FPGA functionality. > > > Don't use ptest-pkgs to pull the tests into the image, but add the ones > you want directly. Such as: > > CORE_IMAGE_EXTRA_INSTALL_append = " ptest-runner myapp-ptest"
Incidentally, I tried this for lttng-tools: DISTRO_FEATURES_append = " ptest" CORE_IMAGE_EXTRA_INSTALL_append = " ptest-runner lttng-tools-ptest" lttng-tools' test script invokes the "prove" command, which does not get installed: root@qemuarm:/usr/lib/lttng-tools/ptest# ./run-ptest [...] ./run.sh unit_tests ./run.sh: line 22: prove: command not found Makefile:664: recipe for target 'installcheck-am' failed The "prove" command appears to be provided by perl-misc, so I added that and retried: ./run.sh unit_tests Can't locate App/Prove.pm in @INC (you may need to install the App::Prove module) Adding perl-modules apparently pulled in the necessary module and got the tests running. lttng-tools_2.5.3.bb currently has: RDEPENDS_${PN}-ptest += "make perl bash" Should it specify perl-misc and perl-modules instead of just perl? -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core