[geary/bug/728002-webkit2: 81/140] Don't run slow timer tests unless specifically requested.
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/bug/728002-webkit2: 81/140] Don't run slow timer tests unless specifically requested.
- Date: Tue, 31 Jan 2017 23:05:21 +0000 (UTC)
commit d2bc005d62e8668b996766758088c39dcf2da4fc
Author: Michael James Gratton <mike vee net>
Date: Mon Jan 9 09:21:09 2017 +1100
Don't run slow timer tests unless specifically requested.
test/engine/util-timeout-manager-test.vala | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/test/engine/util-timeout-manager-test.vala b/test/engine/util-timeout-manager-test.vala
index 99851d6..a087162 100644
--- a/test/engine/util-timeout-manager-test.vala
+++ b/test/engine/util-timeout-manager-test.vala
@@ -13,8 +13,10 @@ class Geary.TimeoutManagerTest : Gee.TestCase {
public TimeoutManagerTest() {
base("Geary.TimeoutManagerTest");
add_test("start_reset", start_reset);
- add_test("test_seconds", test_seconds);
- add_test("test_repeat_forever", test_repeat_forever);
+ if (Test.slow()) {
+ add_test("test_seconds", test_seconds);
+ add_test("test_repeat_forever", test_repeat_forever);
+ }
}
public void start_reset() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]