Permalink
Browse files

toggle_screensaver: Disable on OS X since there is no support for au…

…tomatically disabling the OS X screensaver and causes collision with MacPorts
  • Loading branch information...
1 parent 2d77aa1 commit 648ba97eeac53256056b33173ef6424646ebc713 @michaellarabel michaellarabel committed Mar 19, 2014
Showing with 9 additions and 2 deletions.
  1. +1 −0 CHANGE-LOG
  2. +8 −2 pts-core/modules/toggle_screensaver.php
View
@@ -3,6 +3,7 @@ PHORONIX TEST SUITE CHANGE-LOG
Phoronix Test Suite (Git)
- pts-core: Add "libudev1:i386" to "32bit-compatibility" external dependency for Ubuntu Linux
+- toggle_screensaver: Disable on OS X since there is no support for automatically disabling the OS X screensaver and causes collision with MacPorts
Phoronix Test Suite 5.0-Plavsk
12 March 2014
@@ -3,8 +3,8 @@
/*
Phoronix Test Suite
URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
- Copyright (C) 2008 - 2013, Phoronix Media
- Copyright (C) 2008 - 2013, Michael Larabel
+ Copyright (C) 2008 - 2014, Phoronix Media
+ Copyright (C) 2008 - 2014, Michael Larabel
toggle_screensaver.php: A module to toggle the screensaver while tests are running on GNOME
This program is free software; you can redistribute it and/or modify
@@ -50,6 +50,12 @@ public static function __startup()
{
return pts_module::MODULE_UNLOAD;
}
+ if(phodevi::is_macosx())
+ {
+ // Right now there doesn't appear to be a better way to disable OS X screensaver automatically...
+ return pts_module::MODULE_UNLOAD;
+ }
+
// GNOME Screensaver?
if(($gt = pts_client::executable_in_path('gconftool')) != false || ($gt = pts_client::executable_in_path('gconftool-2')) != false)

0 comments on commit 648ba97

Please sign in to comment.