diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-09-30 11:19:53 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-09-30 11:19:53 -0400 |
commit | 8122328ea5c1e61a79eb6d772153f7b9f85b95e2 (patch) | |
tree | b584b8b851b190a4819fdc01b1d8ec35d8df57eb /pts-core/functions/pts-init.php | |
parent | 772b6015c6f018f42f879f7267a08d28661f5041 (diff) | |
download | phoronix-test-suite-upstream-8122328ea5c1e61a79eb6d772153f7b9f85b95e2.tar.gz phoronix-test-suite-upstream-8122328ea5c1e61a79eb6d772153f7b9f85b95e2.tar.xz phoronix-test-suite-upstream-8122328ea5c1e61a79eb6d772153f7b9f85b95e2.zip |
pts-core: Add support for OS-specific test profiles through
<OS_PREFIX>_<test> name but is accessible by just running <test>
Diffstat (limited to 'pts-core/functions/pts-init.php')
-rw-r--r-- | pts-core/functions/pts-init.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pts-core/functions/pts-init.php b/pts-core/functions/pts-init.php index 7eed061..266d779 100644 --- a/pts-core/functions/pts-init.php +++ b/pts-core/functions/pts-init.php @@ -113,6 +113,8 @@ function pts_init() } else define("IS_UNKNOWN", false); + + define("OS_PREFIX", strtolower(OPERATING_SYSTEM) . "_"); } function pts_extended_init() { |