Hi Lucas
 
Should I change it into replace('/client/tmp/','client/tests/')
so that only the tmp dir under the client will be replaced??
If so I will send the version 4

Any comments?

Thanks 
Mike

在 2012-08-12日的 22:47 +0800,Mike Qiu写道:
> Currently, src dir has been changed to client/tmp/<tests>/src
> in client/shared/test.py. But the code where make the change
> maybe a waste of time, because it, src dir,  may be removed
> in the file client/shared/base_utils.py.
> 
> To avoid this , these two patches have been made.
> 
> This version changes the use of a chain of 3 os.path.dirname
> into replace('/tmp/','/tests/') from v2
> 
> Signed-off-by: Mike Qiu <[email protected]>
> 
> Mike Qiu (2):
>   client.shared.based_utils:Make and copy the src dir to
>     client/tmp/<test>/
>   client.shared.test:Avoid to make and copy src dir
> 
>  client/shared/base_utils.py |    9 +++++++--
>  client/shared/test.py       |    6 ------
>  2 files changed, 7 insertions(+), 8 deletions(-)
> 


_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to