summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-04-24 13:30:24 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-04-24 13:30:24 -0400
commit5bf0a389786362aaafa6ddd70ed03808528e58bd (patch)
tree6e6b0d1bdd656693ecc1f6a44ba0ed7da9b3845e
parent2c5cd14d69dac601ad9709cdbdcfb8c8332738d9 (diff)
downloadphoronix-test-suite-upstream-5bf0a389786362aaafa6ddd70ed03808528e58bd.tar.gz
phoronix-test-suite-upstream-5bf0a389786362aaafa6ddd70ed03808528e58bd.tar.xz
phoronix-test-suite-upstream-5bf0a389786362aaafa6ddd70ed03808528e58bd.zip
Add more warnings/information that PHP GD is now required if you wish to
see the results.
-rw-r--r--CHANGE-LOG2
-rw-r--r--README2
-rwxr-xr-xphoronix-test-suite4
-rw-r--r--pts-core/functions/pts-functions.php2
4 files changed, 7 insertions, 3 deletions
diff --git a/CHANGE-LOG b/CHANGE-LOG
index a3fb4c8..64b16b7 100644
--- a/CHANGE-LOG
+++ b/CHANGE-LOG
@@ -17,6 +17,8 @@ Phoronix Test Suite
- Major rework of how results are saved and each set of results now has its own directory. Most regressions in this area should be taken care of.
- Add show-result <Saved File> argument for opening saved results at a later time in your web browser
- Test results location now defaults to ~/.phoronix-test-suite/test-results/ and saved benchmarks now defaults to ~/.phoronix-test-suite/installed-tests/
+- All graphs are now rendered locally. This means php-gd/php5-gd (PHP GD library) is a requirement if you wish to see the results!
+- Other bug fixes
Phoronix Test Suite 0.3.1
April 19, 2008
diff --git a/README b/README
index d041b93..8442216 100644
--- a/README
+++ b/README
@@ -8,6 +8,8 @@ Patches, new profiles, etc welcome. Non-technical support messages can be direct
The default font that ships with the Phoronix Test Suite for the results graphing is from the DejaVu font collection: http://dejavu.sourceforge.net/
+Phoronix Test Suite requires PHP 5 to be installed as well as the PHP GD graphics module.
+
LINKS:
Check Out This Link To See What The Phoronix Test Suite Is All About (Guide, Announcement, & More): http://www.phoronix.com/scan.php?page=article&item=phoronix_pts&num=1
diff --git a/phoronix-test-suite b/phoronix-test-suite
index 5842c48..fc55dba 100755
--- a/phoronix-test-suite
+++ b/phoronix-test-suite
@@ -10,8 +10,8 @@ if [ ! -x /usr/bin/php ] && [ ! -x /usr/local/bin/php ]
then
echo "\n\nPHP5 CLI Must Be Installed To Run The Phoronix Test Suite!"
echo "Only PHP For The Command Line Is Needed, Not A Full-Blown PHP w/ Web Server"
- echo "If you are using Ubuntu you must run: sudo apt-get install php5-cli"
- echo "If you are using Fedora you must run: yum install php-cli"
+ echo "The PHP CLI package is usually called php-cli or php5-cli. Also required is the PHP GD library (php-gd)"
+ echo "To attempt to have the dependencies installed automatically, run: phoronix-test-suite install-dependencies pts"
echo "For support visit: http://www.phoronix.com/forums/forumdisplay.php?f=49\n\n"
fi
diff --git a/pts-core/functions/pts-functions.php b/pts-core/functions/pts-functions.php
index b0ae0dc..40d2c2d 100644
--- a/pts-core/functions/pts-functions.php
+++ b/pts-core/functions/pts-functions.php
@@ -175,7 +175,7 @@ function pts_save_result($save_to = null, $save_results = null, $directory = nul
}
else */
$gd_available = false;
- echo "The PHP GD extension must be loaded in order for the graphs to display!";
+ echo "\nThe PHP GD extension must be loaded in order for the graphs to display!\n";
}
else
$gd_available = true;