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
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 */ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org