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(-)
--
1.7.7.6
_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel