Code:
diff --git a/pts-core/pts-run-cmd.php b/pts-core/pts-run-cmd.php
index a472046..c02f0b3 100644
--- a/pts-core/pts-run-cmd.php
+++ b/pts-core/pts-run-cmd.php
@@ -180,6 +180,8 @@ switch($COMMAND)
$test_license = $xml_parser->getXMLValue(P_TEST_LICENSE);
$test_status = $xml_parser->getXMLValue(P_TEST_STATUS);
$test_maintainer = $xml_parser->getXMLValue(P_TEST_MAINTAINER);
+ $test_downloadsize = $xml_parser->getXMLValue(P_TEST_DOWNLOADSIZE);
+ $test_environmentsize = $xml_parser->getXMLValue(P_TEST_ENVIRONMENTSIZE);
echo pts_string_header($test_title);
@@ -189,7 +191,11 @@ switch($COMMAND)
echo "Software Type: " . $test_app_type . "\n";
echo "License Type: " . $test_license . "\n";
echo "Test Status: " . $test_status . "\n";
-
+ if(isset($test_downloadsize))
+ echo "Download Size: " . $test_downloadsize . " MB\n";
+ if(isset($test_environmentsize))
+ echo "Environment Size: " . $test_environmentsize . " MB\n";
+
echo "\n";
}
else
Profiles with the optional info now show this:
[uncle_fungus@Iguana phoronix-test-suite]$ ./phoronix-test-suite test-info md-gromacs
====================================
GROMACS MD Benchmark
====================================
Test Version: 0.3
Maintainer: Andrew Schofield
Test Type: Processor
Software Type: Scientific
License Type: FREE
Test Status: VERIFIED
Download Size: 30 MB
Environment Size: 231 MB