[qmtest] new 'check' command
Stefan Seefeld
seefeld at sympatico.ca
Thu Oct 2 16:52:50 UTC 2003
Mark Mitchell wrote:
> On Thu, 2003-10-02 at 09:24, Stefan Seefeld wrote:
>
>>Mark Mitchell wrote:
>>
>>
>>>A first puzzle is how -- using qmtest.py as the main executable -- to
>>>get Python optimization turned on. (In other words, we want to invoke
>>>Python with "-O".) Is that possible without a separate shell script?
>>
>>er, '#!/usr/bin/python -O' ?
>>
>>(this line is generated by the install_script command anyways, so
>>there definitely is a way to fine-tune it)
>
>
> How is this going to work on a machine where we ship Python with QMTest?
Hmm, I just tried 'alias python="python -O"' which works also when used
in conjunction with '#!/usr/bin/env python'.
And if you don't call the qmtest.py script explicitely, there are even
other means such as making 'python' a wrapper script.
Just some ideas...
Regards,
Stefan
More information about the qmtest
mailing list