Summary
Description: Unnamed repository; edit this file to name it for gitweb.
Last Change: Wed 2/3/10 13:04
Recent Commits
>
--git a/pts/benchmark-profiles/warsow.xml b/pts/benchmark-profiles/warsow.xml
new file mode 100644
index 0000000..15f8d94
--- /dev/null
+++ b/pts/benchmark-profiles/warsow.xml
@@ -0,0 +1,27 @@
+<PTSBenchmark>
+ <PhoronixTestSuite>
+ <Version>0.2</Version>
+ <BenchmarkType>Graphics</BenchmarkType>
+ <ApplicationType>Game</ApplicationType>
+ <License>FREE</License>
+ <Status>BROKEN</Status>
+ <Maintainer>Michael Larabel</Maintainer>
+ </PhoronixTestSuite>
+ <Information>
+ <Title>Warsow</Title>
+ <Version>0.42</Version>
+ <Identifier>warsow</Identifier>
+ <Executable>warsow</Executable>
+ <TimesToRun>1</TimesToRun>
+ <ResultScale>Average FPS</ResultScale>
+ <Proportion>HIB</Proportion>
+ <PreRunMessage>Due to a limitation of Warsow, once the benchmark has completed you must manually exit this game so that the Phoronix Test Suite can continue.</PreRunMessage>
+ <Description>This is a benchmark of Warsow, a popular open-source first-person shooter.</Description>
+ </Information>
+ <Settings>
+ <Default>
+ <Arguments>+timedemo 1 +demo pts-warsow-04</Arguments>
+ <PossiblePaths></PossiblePaths>
+ </Default>
+ </Settings>
+</PTSBenchmark>
diff --git a/pts/benchmark-resources/warsow/install.sh b/pts/benchmark-resources/warsow/install.sh
new file mode 100755
index 0000000..5026fd4
--- /dev/null
+++ b/pts/benchmark-resources/warsow/install.sh
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+cd $1
+
+if [ ! -f warsow_0.42_unified.zip ]
+ then
+ wget http://www.speltips.org/~web1_mans/files/warsow_0.42_unified.zip -O warsow_0.42_unified.zip
+fi
+
+if [ ! -f pts-warsow-04.wd10 ]
+ then
+ wget http://www.phoronix-test-suite.com/benchmark-files/pts-warsow-04.wd10 -O pts-warsow-04.wd10
+fi
+
+unzip -o warsow_0.42_unified.zip
+cp pts-warsow-04.wd10 warsow_0.42_unified/basewsw/demos
+cd warsow_0.42_unified/
+chmod +x warsow.x86_64
+chmod +x warsow.i386
+
+echo "#!/bin/sh
+cd warsow_0.42_unified/
+case \`uname -m\` in
+ \"x86_64\" )
+ ./warsow.x86_64 \$@ | grep fps
+ ;;
+ * )
+ ./warsow.i386 \$@ | grep fps
+ ;;
+esac" > warsow
+chmod +x warsow
diff --git a/pts/benchmark-resources/warsow/parse-results.php b/pts/benchmark-resources/warsow/parse-results.php
new file mode 100644
index 0000000..a1686a3
--- /dev/null
+++ b/pts/benchmark-resources/warsow/parse-results.php
@@ -0,0 +1,6 @@
+<?php
+
+$BENCHMARK_RESULTS = trim(substr($argv[1], strrpos($argv[1], "seconds:" + 9)));
+$BENCHMARK_RESULTS = trim(substr($BENCHMARK_RESULTS, 0, strpos($BENCHMARK_RESULTS, "fps")));
+echo $BENCHMARK_RESULTS;
+
Copyright © 2010 by Phoronix Media