Openembedded Core Discussions
 help / color / mirror / Atom feed
* python test files installed in image on purpose?
@ 2018-09-07 19:02 Andrew Geissler
  2018-09-10 19:56 ` Alejandro Enedino Hernandez Samaniego
  2018-09-11 11:01 ` Richard Purdie
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew Geissler @ 2018-09-07 19:02 UTC (permalink / raw)
  To: openembedded-core

Hi,

We've been running into some flash space issues over in the openbmc
project. I noticed the python.bb file (python_2.7.14.bb for us) is
installing some test folders/files in our rootfs image.

# find /usr/lib/python2.7/ -name "test" -print
/usr/lib/python2.7/ctypes/test
/usr/lib/python2.7/email/test

I'm looking to see if there's any functional reason these tests are
included in the image.

In our compressed filesystem we're talking about ~150KB of space but
right now that's a pretty big deal for us. Would the community be
interested in a patch to not install (or make it an option like is
done with INCLUDE_PYCS) these test files?  Or is this something we
should just handle in a .bbappend file for our distro?

Here's a complete list of test directories in the python package.
./Python-2.7.14/Lib/bsddb/test
./Python-2.7.14/Lib/sqlite3/test
./Python-2.7.14/Lib/ctypes/test
./Python-2.7.14/Lib/unittest/test
./Python-2.7.14/Lib/lib-tk/test
./Python-2.7.14/Lib/email/test

Thanks,
Andrew


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-09-11 11:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-07 19:02 python test files installed in image on purpose? Andrew Geissler
2018-09-10 19:56 ` Alejandro Enedino Hernandez Samaniego
2018-09-11 11:01 ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox