summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--EXPERIMENTAL-CHANGE-LOG1
-rw-r--r--pts-core/functions/pts-init.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/EXPERIMENTAL-CHANGE-LOG b/EXPERIMENTAL-CHANGE-LOG
index 29bad5f..6caca30 100644
--- a/EXPERIMENTAL-CHANGE-LOG
+++ b/EXPERIMENTAL-CHANGE-LOG
@@ -15,6 +15,7 @@ Phoronix Test Suite
- pts-core: Report identifiers of test profiles being extended to the test profiles being run
- pts-core: Drop PTS shared download support for test profiles, instead they should be using the Cascading Test Profiles functionality
- pts-core: Don't allow the user to save a test result file if it's the same name as a real test profile or test suite
+- pts-core: Add Mac OS X operating system detection support (using the IS_MACOSX define)
- pts: Switch all audio encoding tests to extend a timed-audio-encode base test instead of all tests having some of the same code copied throughout
- pts: Switch all build tests to extend a timed-build base test instead of all tests having some of the same code copied throughout
- pts: Switch all video tests to extend a video-sample base test instead of all tests having some of the same code copied throughout
diff --git a/pts-core/functions/pts-init.php b/pts-core/functions/pts-init.php
index d73bb02..1800fd7 100644
--- a/pts-core/functions/pts-init.php
+++ b/pts-core/functions/pts-init.php
@@ -81,7 +81,7 @@ function pts_init()
define("IS_SCTP_MODE", false);
// Operating System Detection
- $supported_operating_systems = array("Linux", array("Solaris", "Sun"), "FreeBSD", "BSD");
+ $supported_operating_systems = array("Linux", array("Solaris", "Sun"), "FreeBSD", "BSD", array("MacOSX", "Darwin"));
$uname_s = strtolower(trim(shell_exec("uname -s")));
foreach($supported_operating_systems as $os_check)