[qmtest] running qmtest on bash in cygwin...

Mark Mitchell mark at codesourcery.com
Sat Aug 23 21:01:23 UTC 2003


On Sat, 2003-08-23 at 11:11, Zack Weinberg wrote:
> Mark Mitchell <mark at codesourcery.com> writes:
> 
> > However, the logic where by qmtest.sh finds a version of Python
> > installed in /path/to/qmtest/bin is required for the set-up above. 
> > Therefore, something has to be done to preserve that behavior, or
> > something equivalent.
> 
> I normally hate the #! /usr/bin/env python trick, but this seems like
> exactly the case it was meant to handle - where all that is known is
> that the python interpreter is somewhere on the user's path.  The Unix
> just-unpack-this-tarball distribution could use that, and the
> documentation say that you have to put /path/to/qmtest/bin in your
> PATH.

We actually should not require that.  Some people don't know how to do
that, and some people will forget and get the wrong PATH.

Now, if we can fancy up the /usr/bin/env trick to get us the Python next
to QMTest (if it exists), that would be fine.  We should also preserve
the QM_PYTHON/QM_HOME bits from the current shell script.

I bet thiis is possible if we get clever enough, somehow.

-- 
Mark Mitchell
CodeSourcery, LLC
mark at codesourcery.com




More information about the qmtest mailing list