That's what I've done, but if someone has a fix, I'll try it out. On Wed, Apr 20, 2011 at 3:06 PM, Nelson Marques <nmo.marques@gmail.com> wrote:
Hi,
Most of the stuff for unity also has those pesky tests that require a real runtime environment to build. I would disable it for packaging, that's what I did for Unity.
NM
On Wed, Apr 20, 2011 at 7:03 PM, Greg Freemyer <greg.freemyer@gmail.com> wrote:
All,
I'm packaging a python program that has an included self test.
If I manually build, install, test on my workstation, the test runs to completion.
If I try it online at OBS, I get a failure. What do I need to have in the specfile for it to run?
The specfile code is: === %build export CFLAGS="%{optflags}" python setup.py build cd test python test_pyrit.py ===
I also tried to call the self test at the end of the install stanza. Same results.
The log shows: === + cd test + python test_pyrit.py Traceback (most recent call last): File "test_pyrit.py", line 41, in <module> import cpyrit.config ImportError: No module named cpyrit.config error: Bad exit status from /var/tmp/rpm-tmp.3DeLZI (%build) ===
Thanks Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
-- Nelson Marques
/* As cicatrizes lembram-nos de onde estivemos, mas não ditam para onde vamos */
-- Greg Freemyer Head of EDD Tape Extraction and Processing team Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer CNN/TruTV Aired Forensic Imaging Demo - http://insession.blogs.cnn.com/2010/03/23/how-computer-evidence-gets-retriev... The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org