summaryrefslogtreecommitdiffstats
path: root/pts/test-resources/et
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-10-13 20:22:09 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-10-13 20:22:09 -0400
commitfb1688bcb3d187293ac6a68de3356ca4e2ec542f (patch)
tree7996f455e55991ae64ed210bb85fc1a6b833de7f /pts/test-resources/et
parent827fe07527081a15db12472a20d2e199fe71cf40 (diff)
downloadphoronix-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/et')
-rwxr-xr-xpts/test-resources/et/install.sh3
-rwxr-xr-xpts/test-resources/et/parse-results.php4
2 files changed, 4 insertions, 3 deletions
diff --git a/pts/test-resources/et/install.sh b/pts/test-resources/et/install.sh
index c8090f3..1e88a42 100755
--- a/pts/test-resources/et/install.sh
+++ b/pts/test-resources/et/install.sh
@@ -10,6 +10,5 @@ mv -f railgun.dm_83 et_/etmain/demos/
echo "#!/bin/sh
cd et_/
-./bin/Linux/x86/et.x86 \$@ 2>&1 | grep fps
-" > et
+./bin/Linux/x86/et.x86 \$@ > \$LOG_FILE 2>&1" > et
chmod +x et
diff --git a/pts/test-resources/et/parse-results.php b/pts/test-resources/et/parse-results.php
index f75e04d..af2df8c 100755
--- a/pts/test-resources/et/parse-results.php
+++ b/pts/test-resources/et/parse-results.php
@@ -1,6 +1,8 @@
<?php
-$BENCHMARK_RESULTS = trim(substr($argv[1], 0, strrpos($argv[1], " fps")));
+$log_file = file_get_contents(getenv("LOG_FILE"));
+$BENCHMARK_RESULTS = trim(substr($log_file, 0, strrpos($log_file, " fps")));
$BENCHMARK_RESULTS = trim(substr($BENCHMARK_RESULTS, strrpos($BENCHMARK_RESULTS, ' ')));
echo $BENCHMARK_RESULTS;
+
?>