summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-11-15 21:21:47 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-11-15 21:21:47 -0500
commitca8162c862d4ac1920e5a9395b1198ee4cd133f8 (patch)
treeea3162ce58dfb892c04a8c8011f77d00387b99c6
parent2a188a57225006ce8a4b7f4f4bb5f834e53a18fe (diff)
downloadphoronix-test-suite-upstream-ca8162c862d4ac1920e5a9395b1198ee4cd133f8.tar.gz
phoronix-test-suite-upstream-ca8162c862d4ac1920e5a9395b1198ee4cd133f8.tar.xz
phoronix-test-suite-upstream-ca8162c862d4ac1920e5a9395b1198ee4cd133f8.zip
pts-core: Only install external dependencies for tests that are
supported on the system (such as with platform and architecture limitations)
-rw-r--r--TYDAL-CHANGE-LOG1
-rw-r--r--pts-core/functions/pts-functions-install_dependencies.php5
2 files changed, 5 insertions, 1 deletions
diff --git a/TYDAL-CHANGE-LOG b/TYDAL-CHANGE-LOG
index d7343e3..6eb8938 100644
--- a/TYDAL-CHANGE-LOG
+++ b/TYDAL-CHANGE-LOG
@@ -27,3 +27,4 @@ Phoronix Test Suite (Git)
- pts-core: Add pts_run_option_command() for modularizing executing PTS tasks
- pts-core: Add __pre_option_process() and __post_option_process() to PTS module system
- pts-core: Add "null" to hal-values-remove.txt
+- pts-core: Only install external dependencies for tests that are supported on the system (such as with platform and architecture limitations)
diff --git a/pts-core/functions/pts-functions-install_dependencies.php b/pts-core/functions/pts-functions-install_dependencies.php
index 4abc787..5f32e9a 100644
--- a/pts-core/functions/pts-functions-install_dependencies.php
+++ b/pts-core/functions/pts-functions-install_dependencies.php
@@ -47,7 +47,10 @@ function pts_start_install_dependencies($TO_INSTALL, &$PLACE_LIST)
foreach($tests as $test)
{
- pts_install_external_dependencies_list($test, $PLACE_LIST);
+ if(pts_test_supported($test))
+ {
+ pts_install_external_dependencies_list($test, $PLACE_LIST);
+ }
}
}
function pts_external_dependency_generic($Name)