diff options
-rw-r--r-- | TYDAL-CHANGE-LOG | 1 | ||||
-rw-r--r-- | pts-core/functions/pts-functions_modules.php | 4 | ||||
-rw-r--r-- | pts-core/objects/pts_module_interface.php | 2 | ||||
-rw-r--r-- | pts-core/static/hal-values-remove.txt | 1 |
4 files changed, 6 insertions, 2 deletions
diff --git a/TYDAL-CHANGE-LOG b/TYDAL-CHANGE-LOG index cda647b..d7343e3 100644 --- a/TYDAL-CHANGE-LOG +++ b/TYDAL-CHANGE-LOG @@ -26,3 +26,4 @@ Phoronix Test Suite (Git) - pts-core: Unify the XSL for the PTS Results Viewer and use a PHP function to insert the respective PNG/SVG markup when saving the results - 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 diff --git a/pts-core/functions/pts-functions_modules.php b/pts-core/functions/pts-functions_modules.php index 4763abd..f37b832 100644 --- a/pts-core/functions/pts-functions_modules.php +++ b/pts-core/functions/pts-functions_modules.php @@ -180,8 +180,8 @@ function pts_load_module($module) } function pts_module_processes() { - return array("__startup", "__pre_install_process", "__pre_test_install", "__post_test_install", "__post_install_process", - "__pre_run_process", "__pre_test_run", "__interim_test_run", "__post_test_run", "__post_run_process", "__shutdown"); + return array("__startup", "__pre_option_process", "__pre_install_process", "__pre_test_install", "__post_test_install", "__post_install_process", + "__pre_run_process", "__pre_test_run", "__interim_test_run", "__post_test_run", "__post_run_process", "__post_option_process", "__shutdown"); } function pts_module_events() { diff --git a/pts-core/objects/pts_module_interface.php b/pts-core/objects/pts_module_interface.php index c50061b..c3d5cc8 100644 --- a/pts-core/objects/pts_module_interface.php +++ b/pts-core/objects/pts_module_interface.php @@ -58,10 +58,12 @@ class pts_module_interface public static function __pre_option_process($obj = null) { + // Passed is a string containing the name of the option command about to be run return; } public static function __post_option_process($obj = null) { + // Passed is a string containing the name of the option after it has run return; } diff --git a/pts-core/static/hal-values-remove.txt b/pts-core/static/hal-values-remove.txt index f0ca77b..daaebb2 100644 --- a/pts-core/static/hal-values-remove.txt +++ b/pts-core/static/hal-values-remove.txt @@ -1,4 +1,5 @@ empty +null unknow system manufacturer system version |