summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-init.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-09-30 11:19:53 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-09-30 11:19:53 -0400
commit8122328ea5c1e61a79eb6d772153f7b9f85b95e2 (patch)
treeb584b8b851b190a4819fdc01b1d8ec35d8df57eb /pts-core/functions/pts-init.php
parent772b6015c6f018f42f879f7267a08d28661f5041 (diff)
downloadphoronix-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.php2
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()
{