diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-10-13 20:22:09 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-10-13 20:22:09 -0400 |
commit | fb1688bcb3d187293ac6a68de3356ca4e2ec542f (patch) | |
tree | 7996f455e55991ae64ed210bb85fc1a6b833de7f /pts/test-resources/unigine-tropics/parse-results.php | |
parent | 827fe07527081a15db12472a20d2e199fe71cf40 (diff) | |
download | phoronix-test-suite-upstream-fb1688bcb3d187293ac6a68de3356ca4e2ec542f.tar.gz phoronix-test-suite-upstream-fb1688bcb3d187293ac6a68de3356ca4e2ec542f.tar.xz phoronix-test-suite-upstream-fb1688bcb3d187293ac6a68de3356ca4e2ec542f.zip |
pts: Many test profile updates
Diffstat (limited to 'pts/test-resources/unigine-tropics/parse-results.php')
-rw-r--r-- | pts/test-resources/unigine-tropics/parse-results.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pts/test-resources/unigine-tropics/parse-results.php b/pts/test-resources/unigine-tropics/parse-results.php index 35a388d..773c290 100644 --- a/pts/test-resources/unigine-tropics/parse-results.php +++ b/pts/test-resources/unigine-tropics/parse-results.php @@ -1,5 +1,5 @@ <?php - -$BENCHMARK_RESULTS = substr($argv[1], strrpos($argv[1], "FPS:") + 5); +$log_file = file_get_contents(getenv("LOG_FILE")); +$BENCHMARK_RESULTS = substr($log_file, strrpos($log_file, "FPS:") + 5); echo trim(substr($BENCHMARK_RESULTS, 0, strpos($BENCHMARK_RESULTS, "\n"))); ?> |