diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-12-28 18:18:00 -0500 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-12-28 18:18:00 -0500 |
commit | fe9921b7d2685c497702c516eed752bb6b1a5745 (patch) | |
tree | 29e3d45ab1b9dbb7da86ffc8440efa19a8f67edf | |
parent | db60c7a9c98236fe7c10c917ad248e148a57e52a (diff) | |
download | phoronix-test-suite-upstream-fe9921b7d2685c497702c516eed752bb6b1a5745.tar.gz phoronix-test-suite-upstream-fe9921b7d2685c497702c516eed752bb6b1a5745.tar.xz phoronix-test-suite-upstream-fe9921b7d2685c497702c516eed752bb6b1a5745.zip |
pts: More graphics-magick tweaks
-rw-r--r-- | pts/test-profiles/graphics-magick.xml | 2 | ||||
-rw-r--r-- | pts/test-resources/graphics-magick/parse-results.php | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/pts/test-profiles/graphics-magick.xml b/pts/test-profiles/graphics-magick.xml index bc8799c..8d9fee8 100644 --- a/pts/test-profiles/graphics-magick.xml +++ b/pts/test-profiles/graphics-magick.xml @@ -7,7 +7,7 @@ <Status>VERIFIED</Status> <Maintainer>Michael Larabel</Maintainer> <Extends>photo-sample</Extends> - <ExternalDependencies>build-utilities</ExternalDependencies> + <ExternalDependencies>build-utilities, jpeg-development</ExternalDependencies> <ProjectURL>http://www.graphicsmagick.org/</ProjectURL> </TestProfile> <TestInformation> diff --git a/pts/test-resources/graphics-magick/parse-results.php b/pts/test-resources/graphics-magick/parse-results.php index f5fd526..14444b7 100644 --- a/pts/test-resources/graphics-magick/parse-results.php +++ b/pts/test-resources/graphics-magick/parse-results.php @@ -1,5 +1,11 @@ <?php $log_file = file_get_contents(getenv("LOG_FILE")); $BENCHMARK_RESULTS = substr($log_file, strrpos($log_file, "Results: ") + 9); -echo trim(substr($BENCHMARK_RESULTS, 0, strpos($BENCHMARK_RESULTS, "iter") - 1)); +$BENCHMARK_RESULTS = trim(substr($BENCHMARK_RESULTS, 0, strpos($BENCHMARK_RESULTS, "iter") - 1)); + +if($BENCHMARK_RESULTS < 2) + $BENCHMARK_RESULTS = 0; + +echo $BENCHMARK_RESULTS; + ?> |