Salome HOME
projects
/
tools
/
sat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df6bd77
)
sat test: remove the working directory at the end of the command
author
Serge Rehbinder
<serge.rehbinder@cea.fr>
Thu, 3 Nov 2016 09:29:36 +0000
(10:29 +0100)
committer
Serge Rehbinder
<serge.rehbinder@cea.fr>
Thu, 3 Nov 2016 09:29:36 +0000
(10:29 +0100)
commands/test.py
patch
|
blob
|
history
diff --git
a/commands/test.py
b/commands/test.py
index 3bdcd8a6e55a3116006d74c6b30201bcb9c5f348..61e8207261cef0e534ab4a266fd10cd939310bb3 100644
(file)
--- a/
commands/test.py
+++ b/
commands/test.py
@@
-541,5
+541,9
@@
def run(args, runner, logger):
retcode,
"Click on the link to get the detailed test results")
+ logger.write(_("Removing the temporary directory: rm -rf %s\n" % test_runner.tmp_working_dir), 5)
+ if os.path.exists(test_runner.tmp_working_dir):
+ shutil.rmtree(test_runner.tmp_working_dir)
+
return retcode