Mark J. Nelson wrote:
http://opensolaris.pastebin.ca/1649377
It's entirely possible that I'm doing something wrong here, but I'm
following the same procedure that I have used before. I see an
identical failure if I try ./run.py from src/tests, or trying to build
the test target from src/.
My repository is up to date, but for Padraig's push this morning.
You've fallen victim to the infamous PYTHONPATH problem. The test suite
is supposed to set your PYTHONPATH set to the proto area so that modules
will be loaded from there, but a number of people have had that not happen.
I've always used something like this:
PYTHONPATH=$WS/proto/root_`uname -p`/usr/lib/python2.4/vendor-packages;
export PYTHONPATH
Where $WS is my directory containing the gate checkout.
The errors you are seeing now is because the modules from '/' are being
loaded for the test instead of the modules from the proto area.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss