[Libreoffice-commits] dev-tools.git: test-bugzilla-files/new-control.py
GülÅah Köse (via logerrit)
logerrit at kemper.freedesktop.org
Fri Oct 8 11:19:15 UTC 2021
test-bugzilla-files/new-control.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
New commits:
commit 09ee4776096e3f86360664aa7bf2783f4c7ba3fb
Author: Gülşah Köse <gulsah.kose at collabora.com>
AuthorDate: Fri Oct 8 11:29:08 2021 +0300
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Fri Oct 8 13:18:57 2021 +0200
Control the saving previous state.
If SAVEPREVIOUSSTATE env is exist, tool will
save the previous state
Change-Id: If055e758d76798af50d94493e268deda7ca333cc
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/123251
Tested-by: Miklos Vajna <vmiklos at collabora.com>
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
diff --git a/test-bugzilla-files/new-control.py b/test-bugzilla-files/new-control.py
index ee8befe..6635db6 100644
--- a/test-bugzilla-files/new-control.py
+++ b/test-bugzilla-files/new-control.py
@@ -164,5 +164,7 @@ if __name__ == "__main__":
exported_files = get_list_of_files("/srv/crashtestdata/current/srv/crashtestdata/files/")
checkDiskSpace()
- saveAsPreviousState(exported_files)
- checkDiskSpace()
+
+ if os.getenv('SAVEPREVIOUSSTATE'):
+ saveAsPreviousState(exported_files)
+ checkDiskSpace()
More information about the Libreoffice-commits
mailing list