summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_tests.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-09-17 20:02:19 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-09-17 20:02:19 -0400
commit71d0a0f2302c26c3e1f90ebdb13dc8687086359b (patch)
tree76a77a535faf4803da7d9b93530da82d253e251d /pts-core/functions/pts-functions_tests.php
parent4bdd4b5221cc8cd374a292a97475bc1be4e2bfbe (diff)
downloadphoronix-test-suite-upstream-71d0a0f2302c26c3e1f90ebdb13dc8687086359b.tar.gz
phoronix-test-suite-upstream-71d0a0f2302c26c3e1f90ebdb13dc8687086359b.tar.xz
phoronix-test-suite-upstream-71d0a0f2302c26c3e1f90ebdb13dc8687086359b.zip
pts-core: Add pts_test_supported() function
Diffstat (limited to 'pts-core/functions/pts-functions_tests.php')
-rw-r--r--pts-core/functions/pts-functions_tests.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/pts-core/functions/pts-functions_tests.php b/pts-core/functions/pts-functions_tests.php
index e6121e1..0a6b8ce 100644
--- a/pts-core/functions/pts-functions_tests.php
+++ b/pts-core/functions/pts-functions_tests.php
@@ -255,5 +255,9 @@ function pts_test_platform_supported($identifier)
return $supported;
}
+function pts_test_supported($identifier)
+{
+ return pts_test_architecture_supported($identifier) && pts_test_platform_supported($identifier);
+}
?>