diff options
Diffstat (limited to 'pts/test-resources')
-rw-r--r-- | pts/test-resources/tremulous/downloads.xml | 13 | ||||
-rwxr-xr-x | pts/test-resources/tremulous/install.sh | 13 | ||||
-rwxr-xr-x | pts/test-resources/tremulous/parse-results.php | 6 |
3 files changed, 32 insertions, 0 deletions
diff --git a/pts/test-resources/tremulous/downloads.xml b/pts/test-resources/tremulous/downloads.xml new file mode 100644 index 0000000..b6beb9c --- /dev/null +++ b/pts/test-resources/tremulous/downloads.xml @@ -0,0 +1,13 @@ +<PhoronixTestSuite> + <Downloads> + <Package> + <URL>http://internap.dl.sourceforge.net/sourceforge/tremulous/tremulous-1.1.0.zip, http://voxel.dl.sourceforge.net/sourceforge/tremulous/tremulous-1.1.0.zip, http://mesh.dl.sourceforge.net/sourceforge/tremulous/tremulous-1.1.0.zip, http://heanet.dl.sourceforge.net/sourceforge/tremulous/tremulous-1.1.0.zip, http://internode.dl.sourceforge.net/sourceforge/tremulous/tremulous-1.1.0.zip</URL> + <MD5>3df5f7565571fb9524656308347bce1b</MD5> + </Package> + <Package> + <URL>http://www.phoronix-test-suite.com/benchmark-files/tremulous-benchmark-1.tar.gz, http://www.phoronix.net/downloads/phoronix-test-suite/benchmark-files/tremulous-benchmark-1.tar.gz</URL> + <MD5>71663ef14020c1f8bc368d5a13e1a69f</MD5> + </Package> + </Downloads> +</PhoronixTestSuite> + diff --git a/pts/test-resources/tremulous/install.sh b/pts/test-resources/tremulous/install.sh new file mode 100755 index 0000000..7ef9893 --- /dev/null +++ b/pts/test-resources/tremulous/install.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +unzip -o tremulous-1.1.0.zip -d tremulous_/ +tar -xvf tremulous-benchmark-1.tar.gz + +mv tremulous-benchmark.cfg tremulous_/tremulous/base/ +mv demos/ tremulous_/tremulous/base/ + +echo "#!/bin/sh +cd tremulous_/tremulous/ +./tremulous.x86 \$@ 2>&1 | grep fps +" > tremulous +chmod +x tremulous diff --git a/pts/test-resources/tremulous/parse-results.php b/pts/test-resources/tremulous/parse-results.php new file mode 100755 index 0000000..f75e04d --- /dev/null +++ b/pts/test-resources/tremulous/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; +?> |