Skip to content
Permalink
Browse files
tests fail if display sleeps while run-webkit-tests is running
https://bugs.webkit.org/show_bug.cgi?id=153919

Reviewed by Darin Adler.

* DumpRenderTree/mac/LayoutTestHelper.m:
(addDisplaySleepAssertion): Use PreventUserIdleSystemSleep flag, same as set by caffeinate tool.


Canonical link: https://commits.webkit.org/176289@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@201489 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
aj062 committed May 28, 2016
1 parent 12d1aa0 commit b71005df09b2a09cc69f18b16554f51e318ce6df
Showing 2 changed files with 11 additions and 1 deletion.
@@ -1,3 +1,13 @@
2016-05-28 Aakash Jain <aakash_jain@apple.com>

tests fail if display sleeps while run-webkit-tests is running
https://bugs.webkit.org/show_bug.cgi?id=153919

Reviewed by Darin Adler.

* DumpRenderTree/mac/LayoutTestHelper.m:
(addDisplaySleepAssertion): Use PreventUserIdleSystemSleep flag, same as set by caffeinate tool.

2016-05-27 Srinivasan Vijayaraghavan <svijayaraghavan@apple.com>

Display failing JSC stress tests in buildbot dashboard
@@ -244,7 +244,7 @@ void addDisplaySleepAssertion()
{
CFStringRef assertionName = CFSTR("WebKit LayoutTestHelper");
CFStringRef assertionDetails = CFSTR("WebKit layout-test helper tool is preventing sleep.");
IOPMAssertionCreateWithDescription(kIOPMAssertionTypePreventUserIdleDisplaySleep,
IOPMAssertionCreateWithDescription(kIOPMAssertionTypePreventUserIdleSystemSleep,
assertionName, assertionDetails, assertionDetails, NULL, 0, NULL, &assertionID);
}

0 comments on commit b71005d

Please sign in to comment.