summaryrefslogtreecommitdiffstats
path: root/pts/test-resources/urbanterror/parse-results.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-06-27 18:22:49 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-06-27 18:22:49 -0400
commitb2cecea8509fdc015aee826895cdac0b888802ef (patch)
tree9c0ac4af16eb98f4af8538e0eede952163f2d9d3 /pts/test-resources/urbanterror/parse-results.php
parentbc0c2c13ddd575a0202b3444a7753cb0c729c1f5 (diff)
downloadphoronix-test-suite-upstream-b2cecea8509fdc015aee826895cdac0b888802ef.tar.gz
phoronix-test-suite-upstream-b2cecea8509fdc015aee826895cdac0b888802ef.tar.xz
phoronix-test-suite-upstream-b2cecea8509fdc015aee826895cdac0b888802ef.zip
Add urbanterror test profile for Urban Terror FPS game
Diffstat (limited to 'pts/test-resources/urbanterror/parse-results.php')
-rwxr-xr-xpts/test-resources/urbanterror/parse-results.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/pts/test-resources/urbanterror/parse-results.php b/pts/test-resources/urbanterror/parse-results.php
new file mode 100755
index 0000000..f75e04d
--- /dev/null
+++ b/pts/test-resources/urbanterror/parse-results.php
@@ -0,0 +1,6 @@
+<?php
+
+$BENCHMARK_RESULTS = trim(substr($argv[1], 0, strrpos($argv[1], " fps")));
+$BENCHMARK_RESULTS = trim(substr($BENCHMARK_RESULTS, strrpos($BENCHMARK_RESULTS, ' ')));
+echo $BENCHMARK_RESULTS;
+?>