protected static function phoromatic_setup_module() { if (!pts_module::is_module_setup()) { echo PHP_EOL . 'You first must run:' . PHP_EOL . PHP_EOL . 'phoronix-test-suite module-setup phoromatic' . PHP_EOL . PHP_EOL; return false; } self::$phoromatic_host = pts_module::read_option('remote_host'); self::$phoromatic_account = pts_module::read_option('remote_account'); self::$phoromatic_verifier = pts_module::read_option('remote_verifier'); self::$phoromatic_system = pts_module::read_option('remote_system'); if (extension_loaded('openssl') == false) { // OpenSSL is not supported therefore no HTTPS support self::$phoromatic_host = str_replace('https://', 'http://', self::$phoromatic_host); } $phoromatic = 'phoromatic'; pts_module_manager::attach_module($phoromatic); return true; }