X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=commands%2Ftest.py;h=55c748b0304b5d7a152825951bda282e7433959c;hb=8907858912a4ceb6358a1f6659e8b9dbd6ef4ef4;hp=3bdcd8a6e55a3116006d74c6b30201bcb9c5f348;hpb=1d77008157d909e80fe6ed9871446542bdbb0af2;p=tools%2Fsat.git diff --git a/commands/test.py b/commands/test.py index 3bdcd8a..55c748b 100644 --- a/commands/test.py +++ b/commands/test.py @@ -48,7 +48,7 @@ parser.add_option('s', 'session', 'list', 'sessions', _('Optional: indicate which session(s) to test (subdirectory of the ' 'grid).')) parser.add_option('', 'display', 'string', 'display', - _("Optional: set the display where to launch SALOME." + _("Optional: set the display where to launch SALOME.\n" "\tIf value is NO then option --show-desktop=0 will be used to launch SALOME.")) def description(): @@ -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