diff options
-rw-r--r-- | EXPERIMENTAL-CHANGE-LOG | 2 | ||||
-rw-r--r-- | pts-core/functions/pts-init.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/EXPERIMENTAL-CHANGE-LOG b/EXPERIMENTAL-CHANGE-LOG index 90386ce..5eb3dcd 100644 --- a/EXPERIMENTAL-CHANGE-LOG +++ b/EXPERIMENTAL-CHANGE-LOG @@ -33,6 +33,8 @@ Phoronix Test Suite - pts-core: Add initial support for detecting the motherboard Southbridge where applicable - pts-core: Omit OEM in read_hal() - pts-core: With list-tests, don't list tests that aren't compliant with the running system's architecture and platform +- pts-core: Add support so test options can be set as an environment variable by using <TEST NAME UPPER_CASE>_<NUM OPTION>=<INDEX OF REQUEST> +- pts-core: Switch to using php_uname() in pts-init.php - 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 1800fd7..bc30c4e 100644 --- a/pts-core/functions/pts-init.php +++ b/pts-core/functions/pts-init.php @@ -82,7 +82,7 @@ function pts_init() // Operating System Detection $supported_operating_systems = array("Linux", array("Solaris", "Sun"), "FreeBSD", "BSD", array("MacOSX", "Darwin")); - $uname_s = strtolower(trim(shell_exec("uname -s"))); + $uname_s = strtolower(php_uname("s")); foreach($supported_operating_systems as $os_check) { |