2008/8/26 Roman Yakovenko <roman.yakovenko@...>
> On Tue, Aug 26, 2008 at 1:27 AM, Gustavo Carneiro <gjcarneiro@...>
> > Therefore I propose a patch to let pygccxml search in PATH for gccxml, by
> > default, and let your case be the exception, not the rule.
> > I mean, I don't mind making my case a special case, but thinking of other
> > users I would advise to make unit tests Just Work™ out of the box. What
> > you think?
> I agree with you. I just committed the fix to autoconfig.py
> gccxml_configuration_t class will look for gccxml binary in the
> environment. in case the path was not set
I remembered one more suggestion: sys.path.insert(0, '..')
This way unit tests will always use the source tree pygccxml version, never
the installed one. Most people believe this is the right thing to do, as
you usually want to test the pygcccxml you are about to install (or are
developing), not the one that is installed.
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert