[gnome-continuous] testbase: Take final screenshot synchronously
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous] testbase: Take final screenshot synchronously
- Date: Wed, 25 Sep 2013 19:44:21 +0000 (UTC)
commit be2c37b71b4a73868a52c96b03da1204ed7fcd91
Author: Colin Walters <walters verbum org>
Date: Wed Sep 25 15:43:57 2013 -0400
testbase: Take final screenshot synchronously
Otherwise we don't get screenshot-final.png, which the web site wants.
src/js/tasks/testbase.js | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/js/tasks/testbase.js b/src/js/tasks/testbase.js
index 376ed31..398208b 100644
--- a/src/js/tasks/testbase.js
+++ b/src/js/tasks/testbase.js
@@ -239,6 +239,9 @@ const TestOneDisk = new Lang.Class({
GSystem.file_unlink(filePath, this._cancellable);
}
this._requestingScreenshot = false;
+
+ if (isFinal)
+ this._loop.quit();
},
_screenshot: function(isFinal) {
@@ -267,8 +270,6 @@ const TestOneDisk = new Lang.Class({
print("Final wait complete");
this._screenshot(true);
-
- this._loop.quit();
},
execute: function(subworkdir, buildData, repo, diskPath, cancellable) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]