diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-05-06 21:43:40 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-05-06 21:43:40 -0400 |
commit | d889468b75e942b86401ce4fad279688926a78c5 (patch) | |
tree | 65ef1a972a36d7ed8141dd435dad75d2c1f17f8c /pts/test-resources/xplane9 | |
parent | 7558a3ca46525bc5d8d026b9a83b877142104f1e (diff) | |
download | phoronix-test-suite-upstream-d889468b75e942b86401ce4fad279688926a78c5.tar.gz phoronix-test-suite-upstream-d889468b75e942b86401ce4fad279688926a78c5.tar.xz phoronix-test-suite-upstream-d889468b75e942b86401ce4fad279688926a78c5.zip |
Add X-Plane 9.00 test profile (Special Thanks To Laminar Research)
Diffstat (limited to 'pts/test-resources/xplane9')
-rw-r--r-- | pts/test-resources/xplane9/downloads.xml | 8 | ||||
-rwxr-xr-x | pts/test-resources/xplane9/install.sh | 11 | ||||
-rw-r--r-- | pts/test-resources/xplane9/parse-results.php | 6 |
3 files changed, 25 insertions, 0 deletions
diff --git a/pts/test-resources/xplane9/downloads.xml b/pts/test-resources/xplane9/downloads.xml new file mode 100644 index 0000000..1d6ff8a --- /dev/null +++ b/pts/test-resources/xplane9/downloads.xml @@ -0,0 +1,8 @@ +<PhoronixTestSuite> + <Downloads> + <Package> + <URL>http://update.x-plane.com/X-Plane_900r3_timedemo.tar.bz2, http://www.phoronix-test-suite.com/benchmark-files/X-Plane_900r3_timedemo.tar.bz2, http://www.phoronix.net/downloads/phoronix-test-suite/benchmark-files/X-Plane_900r3_timedemo.tar.bz2</URL> + <MD5>6773b1571bb264f0208c664f8bfc9523</MD5> + </Package> + </Downloads> +</PhoronixTestSuite> diff --git a/pts/test-resources/xplane9/install.sh b/pts/test-resources/xplane9/install.sh new file mode 100755 index 0000000..62f840b --- /dev/null +++ b/pts/test-resources/xplane9/install.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +cd $1 +tar -xjf X-Plane_900r3_timedemo.tar.bz2 + +echo "#!/bin/sh +cd X-Plane_900r3_timedemo/ + +./X-Plane-i686 \$@ > /dev/null +grep FRAMERATE Log.txt" > xplane9 +chmod +x xplane9 diff --git a/pts/test-resources/xplane9/parse-results.php b/pts/test-resources/xplane9/parse-results.php new file mode 100644 index 0000000..0b0a279 --- /dev/null +++ b/pts/test-resources/xplane9/parse-results.php @@ -0,0 +1,6 @@ +<?php +$BENCHMARK_RESULTS = substr($argv[1], strpos($argv[1], "phase 1:") + 8); +$BENCHMARK_RESULTS = substr($BENCHMARK_RESULTS, strpos($BENCHMARK_RESULTS, "fps=") + 4); +$BENCHMARK_RESULTS = trim(substr($BENCHMARK_RESULTS, 0, strpos($BENCHMARK_RESULTS, "\n"))); +echo $BENCHMARK_RESULTS; +?> |