[LDTP-Dev] The issue of CWD of scripts loaded by ldtprunner

Ara Pulido ara at ubuntu.com
Thu Sep 17 23:31:10 PDT 2009


On 18/09/09 04:55, Nagappan Alagappan wrote:
> Hi Scott,
>
>
>     2) The other is to use os.getcwd() and os.chcwd() to change the
>     working directory. But it seems I can't use '__file__' macro to
>     get the current executing file's path information resolved.
>
>     Is there a better solution or hack available?
>
Check Mago, we are using something similar: http://mago.ubuntu.com

Cheers,
Ara.

>
>
>     _______________________________________________
>     LDTP-dev mailing list
>     LDTP-dev at lists.freedesktop.org <mailto:LDTP-dev at lists.freedesktop.org>
>     http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
>
>
>
>
> -- 
> Linux Desktop (GUI Application) Testing Project - 
> http://ldtp.freedesktop.org
> http://nagappanal.blogspot.com
>
>
> _______________________________________________
> LDTP-dev mailing list
> LDTP-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20090918/543fd655/attachment.html 


More information about the LDTP-dev mailing list