diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-24 18:51:34 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-24 18:51:34 -0400 |
commit | 490156dc1ccbdc940e8d8ad87bbb4a7c51f3fe87 (patch) | |
tree | 006564fa7c1707d29c1528e831cfb45dbdb96327 /pts/test-resources/vdrift | |
parent | 1688544d22e62cab229c4bbe246edc1c52cdea14 (diff) | |
download | phoronix-test-suite-upstream-490156dc1ccbdc940e8d8ad87bbb4a7c51f3fe87.tar.gz phoronix-test-suite-upstream-490156dc1ccbdc940e8d8ad87bbb4a7c51f3fe87.tar.xz phoronix-test-suite-upstream-490156dc1ccbdc940e8d8ad87bbb4a7c51f3fe87.zip |
pts: Add vdrift test profile for vDrift racing game, but currently the
profile is incomplete
Diffstat (limited to 'pts/test-resources/vdrift')
-rw-r--r-- | pts/test-resources/vdrift/downloads.xml | 8 | ||||
-rwxr-xr-x | pts/test-resources/vdrift/install.sh | 21 | ||||
-rw-r--r-- | pts/test-resources/vdrift/parse-results.php | 6 |
3 files changed, 35 insertions, 0 deletions
diff --git a/pts/test-resources/vdrift/downloads.xml b/pts/test-resources/vdrift/downloads.xml new file mode 100644 index 0000000..f42d48c --- /dev/null +++ b/pts/test-resources/vdrift/downloads.xml @@ -0,0 +1,8 @@ +<PhoronixTestSuite> + <Downloads> + <Package> + <URL>http://internap.dl.sourceforge.net/sourceforge/vdrift/vdrift-2008-08-05-src.tar.bz2, http://voxel.dl.sourceforge.net/sourceforge/vdrift/vdrift-2008-08-05-src.tar.bz2, http://ovh.dl.sourceforge.net/sourceforge/vdrift/vdrift-2008-08-05-src.tar.bz2, http://internode.dl.sourceforge.net/sourceforge/vdrift/vdrift-2008-08-05-src.tar.bz2, http://waix.dl.sourceforge.net/sourceforge/vdrift/vdrift-2008-08-05-src.tar.bz2</URL> + <MD5>9e3e3c91960146354c2a9fb65da3bd97</MD5> + </Package> + </Downloads> +</PhoronixTestSuite> diff --git a/pts/test-resources/vdrift/install.sh b/pts/test-resources/vdrift/install.sh new file mode 100755 index 0000000..d7784d5 --- /dev/null +++ b/pts/test-resources/vdrift/install.sh @@ -0,0 +1,21 @@ +#!/bin/sh + +tar -xjf vdrift-2008-08-05-src.tar.bz2 +cd vdrift-08-05-08/tools/ +tar -xvf scons-local-0.96.95.tar.gz +cd ../bullet-2.66/ +./configure +jam bulletcollision bulletmath +cd .. +./tools/scons.py + +# TODO: Drop in benchmark.vdr to ~/.vdrift/replays/ +# Config file at ~/.vdrift/VDrift.config + +cd .. +echo "#!/bin/sh + +cd vdrift-08-05-08/ +./build/vdrift -benchmark" > vdrift +chmod +x vdrift + diff --git a/pts/test-resources/vdrift/parse-results.php b/pts/test-resources/vdrift/parse-results.php new file mode 100644 index 0000000..4fe0999 --- /dev/null +++ b/pts/test-resources/vdrift/parse-results.php @@ -0,0 +1,6 @@ +<?php + +$BENCHMARK_RESULTS = substr($argv[1], strrpos($argv[1], "FPS:") + 4); +echo trim(substr($BENCHMARK_RESULTS, 0, strpos($BENCHMARK_RESULTS, "\n"))); + +?> |