diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-06-27 22:29:16 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-06-27 22:29:16 -0400 |
commit | a1805ac5a534ae7c3fcbff1ca0f4e7353240cd24 (patch) | |
tree | 4a27a1864bd8b433215fd013bd41aa932e211575 /pts/test-resources/et | |
parent | 16337f60eb0f6a90e50dfe46e1d4f74b9e798c81 (diff) | |
download | phoronix-test-suite-upstream-a1805ac5a534ae7c3fcbff1ca0f4e7353240cd24.tar.gz phoronix-test-suite-upstream-a1805ac5a534ae7c3fcbff1ca0f4e7353240cd24.tar.xz phoronix-test-suite-upstream-a1805ac5a534ae7c3fcbff1ca0f4e7353240cd24.zip |
Add Wolfenstein: Enemy Territory test profile (named et)
Diffstat (limited to 'pts/test-resources/et')
-rw-r--r-- | pts/test-resources/et/downloads.xml | 13 | ||||
-rwxr-xr-x | pts/test-resources/et/install.sh | 15 | ||||
-rwxr-xr-x | pts/test-resources/et/parse-results.php | 6 |
3 files changed, 34 insertions, 0 deletions
diff --git a/pts/test-resources/et/downloads.xml b/pts/test-resources/et/downloads.xml new file mode 100644 index 0000000..8f5b654 --- /dev/null +++ b/pts/test-resources/et/downloads.xml @@ -0,0 +1,13 @@ +<PhoronixTestSuite> + <Downloads> + <Package> + <URL>ftp://ftp.games.skynet.be/spool1/games/wolfenstein/et-linux-2.60.x86.run, ftp://ftp.csie.ncu.edu.tw/FreeBSD/ports/distfiles/et-linux-2.60.x86.run, ftp://ftp.idsoftware.com/idstuff/et/linux/et-linux-2.60.x86.run, ftp://ftp.ucsd.edu/mirror2/FreeBSD/ports/distfiles/et-linux-2.60.x86.run, ftp://ftp.tw.freebsd.org/pub/ports/distfiles/et-linux-2.60.x86.run</URL> + <MD5>2d2373f29f02e18d365d7f1860eee435</MD5> + </Package> + <Package> + <URL>http://www.phoronix-test-suite.com/benchmark-files/et-demos-1.tar.gz, http://www.phoronix.net/downloads/phoronix-test-suite/benchmark-files/et-demos-1.tar.gz</URL> + <MD5>f6a91c2b2d0874010f6382d07b65fe02</MD5> + </Package> + </Downloads> +</PhoronixTestSuite> + diff --git a/pts/test-resources/et/install.sh b/pts/test-resources/et/install.sh new file mode 100755 index 0000000..c8090f3 --- /dev/null +++ b/pts/test-resources/et/install.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +chmod +x et-linux-2.60.x86.run +./et-linux-2.60.x86.run --target et_ --noexec + +tar -xvf et-demos-1.tar.gz +mv -f pts-etconfig.cfg et_/etmain/ +mkdir et_/etmain/demos/ +mv -f railgun.dm_83 et_/etmain/demos/ + +echo "#!/bin/sh +cd et_/ +./bin/Linux/x86/et.x86 \$@ 2>&1 | grep fps +" > et +chmod +x et diff --git a/pts/test-resources/et/parse-results.php b/pts/test-resources/et/parse-results.php new file mode 100755 index 0000000..f75e04d --- /dev/null +++ b/pts/test-resources/et/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; +?> |