summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-09-12 20:26:26 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-09-12 20:26:26 -0400
commit0eccccb0713615fd01fecbb96712108b821e3b80 (patch)
tree6472cda80113406a936dace0e49d69f483bbd1cb
parent82a686b2eec06bd084f89260eddb2a0114ab1605 (diff)
downloadphoronix-test-suite-upstream-0eccccb0713615fd01fecbb96712108b821e3b80.tar.gz
phoronix-test-suite-upstream-0eccccb0713615fd01fecbb96712108b821e3b80.tar.xz
phoronix-test-suite-upstream-0eccccb0713615fd01fecbb96712108b821e3b80.zip
pts: Add World of Padman test profile (named padman)
-rw-r--r--CHANGE-LOG3
-rw-r--r--EXPERIMENTAL-CHANGE-LOG1
-rw-r--r--pts/test-profiles/padman.xml36
-rw-r--r--pts/test-resources/padman/downloads.xml20
-rwxr-xr-xpts/test-resources/padman/install.sh56
-rwxr-xr-xpts/test-resources/padman/parse-results.php6
6 files changed, 122 insertions, 0 deletions
diff --git a/CHANGE-LOG b/CHANGE-LOG
index ff295af..81fe7d3 100644
--- a/CHANGE-LOG
+++ b/CHANGE-LOG
@@ -1,12 +1,15 @@
PHORONIX TEST SUITE CHANGE-LOG
Phoronix Test Suite 1.2.1
+September 12, 2008
- pts-core: Improve formatting for systems with multiple CPUs but of different models
- pts-core: Add initial support for remote MD5 check support (though formal support will come with Orkdal)
- pts-core: Fix merging of results when supplying a Phoronix Global ID
- pts: MD5 check-sum fixes for unigine-sanctuary and unigine-tropics
- pts: Fix a system script bug in unigine-tropics
+- pts: Update image-magick download links for source file
+- pts: Have the fio test profile remove the dead iometer.1.0 file after testing
- documentation: Fix typo in Debian APT sources file
Phoronix Test Suite 1.2.0
diff --git a/EXPERIMENTAL-CHANGE-LOG b/EXPERIMENTAL-CHANGE-LOG
index 94a089b..1329b5e 100644
--- a/EXPERIMENTAL-CHANGE-LOG
+++ b/EXPERIMENTAL-CHANGE-LOG
@@ -29,6 +29,7 @@ Phoronix Test Suite
- pts: Change all current and relevant test profiles shipping the Phoronix Test Suite to using the FileSize tags within their downloads.xml files
- pts: Improve the reported environment size for many of the test profiles
- pts: Update compress-7zip test profile to use p7zip 4.58
+- pts: Add World of Padman test profile (named padman)
- tandem_Xml: Add a pts_test_tandem_XmlReader object that extends tandem_XmlReader but takes advantage of the handleXmlZeroTagFallback
- tandem_Xml: Add fallback function handler support when a tag isn't found
- graphics_event_checker: Add graphics_event_checker module that makes sure the graphics system isn't messed up or having unintended options enabled while tests are running
diff --git a/pts/test-profiles/padman.xml b/pts/test-profiles/padman.xml
new file mode 100644
index 0000000..a860ffa
--- /dev/null
+++ b/pts/test-profiles/padman.xml
@@ -0,0 +1,36 @@
+<PhoronixTestSuite>
+ <TestProfile>
+ <Version>1.0.0</Version>
+ <TestType>Graphics</TestType>
+ <SoftwareType>Game</SoftwareType>
+ <License>FREE</License>
+ <Status>VERIFIED</Status>
+ <Maintainer>Michael Larabel</Maintainer>
+ <EnvironmentSize>612</EnvironmentSize>
+ <SupportedArchitectures>x86, x86_64</SupportedArchitectures>
+ <ProjectURL>http://www.worldofpadman.com/</ProjectURL>
+ </TestProfile>
+ <TestInformation>
+ <Title>World of Padman</Title>
+ <Version>1.2</Version>
+ <TimesToRun>3</TimesToRun>
+ <ResultScale>Frames Per Second</ResultScale>
+ <Proportion>HIB</Proportion>
+ <Description>World of Padman is an open-source game using the ioquake3 engine. What makes this game different from other first-person shooters is that it's a cartoon-style action game.</Description>
+ </TestInformation>
+ <TestSettings>
+ <Default>
+ <Arguments>+timedemo 1 +set demodone "quit" +set demoloop1 "demo pts; set nextdemo vstr demodone" +vstr demoloop1</Arguments>
+ </Default>
+ <Option>
+ <DisplayName>Resolution</DisplayName>
+ <Identifier>auto-resolution</Identifier>
+ <Menu>
+ <Entry>
+ <Name>$VIDEO_WIDTH x $VIDEO_HEIGHT</Name>
+ <Value>+set r_customwidth $VIDEO_WIDTH +set r_customheight $VIDEO_HEIGHT</Value>
+ </Entry>
+ </Menu>
+ </Option>
+ </TestSettings>
+</PhoronixTestSuite>
diff --git a/pts/test-resources/padman/downloads.xml b/pts/test-resources/padman/downloads.xml
new file mode 100644
index 0000000..e9949be
--- /dev/null
+++ b/pts/test-resources/padman/downloads.xml
@@ -0,0 +1,20 @@
+<PhoronixTestSuite>
+ <Downloads>
+ <Package>
+ <URL>http://thilo.kickchat.com/download/worldofpadman.run, ftp://ftp.snt.utwente.nl/pub/games/worldofpadman/linux/worldofpadman.run, http://btc3x6.che.uni-bayreuth.de/~tl/wop_final/worldofpadman.run</URL>
+ <MD5>c7650414d7865ddac26ada6b3f7b8cc9</MD5>
+ <FileSize>576952895</FileSize>
+ </Package>
+ <Package>
+ <URL>ftp://ftp.kickchat.com/wop/wop_patch_1_2.run, ftp://ftp.snt.utwente.nl/pub/games/worldofpadman/linux/wop_patch_1_2.run, http://www.hessenfragger.de/uploads/wop_patch_1_2.run</URL>
+ <MD5>3468fc91889795471bc68e35ea334614</MD5>
+ <FileSize>72187892</FileSize>
+ </Package>
+ <Package>
+ <URL>http://www.phoronix-test-suite.com/benchmark-files/wop-benchmark-1.tar.gz, http://www.phoronix.net/downloads/phoronix-test-suite/benchmark-files/wop-benchmark-1.tar.gz</URL>
+ <MD5>8a7f8a1dd3b23d0b2147e7af3c8e146e</MD5>
+ <FileSize>799842</FileSize>
+ </Package>
+ </Downloads>
+</PhoronixTestSuite>
+
diff --git a/pts/test-resources/padman/install.sh b/pts/test-resources/padman/install.sh
new file mode 100755
index 0000000..fd7353e
--- /dev/null
+++ b/pts/test-resources/padman/install.sh
@@ -0,0 +1,56 @@
+#!/bin/sh
+
+chmod +x worldofpadman.run
+chmod +x wop_patch_1_2.run
+
+./worldofpadman.run --noexec --target wop11
+./wop_patch_1_2.run --noexec --target wop12patch
+
+mkdir wop-install/
+mkdir wop-install/wop/
+
+cd wop11/
+
+tar -xf wop-data.tar
+mv *.cfg ../wop-install/wop/
+mv *.pk3 ../wop-install/wop/
+
+cd ..
+
+cd wop12patch/
+
+mv bin/Linux/x86/WoP ../wop-install/WoP32
+mv bin/Linux/x86_64/WoP ../wop-install/WoP64
+
+tar -xf wop-engine.i386.tar
+tar -xf wop-engine.x86_64.tar
+
+mv wop-engine.i386 ../wop-install
+mv wop-engine.x86_64 ../wop-install
+
+tar -xf wop-data-1.2.tar
+mv *.pk3 ../wop-install/wop/
+
+cd ..
+
+rm -rf wop11/
+rm -rf wop12patch/
+
+tar -xvf wop-benchmark-1.tar.gz
+mkdir ~/.WoPadman/
+mkdir ~/.WoPadman/wop/
+mv wop_config.cfg ~/.WoPadman/wop/
+mv demos/ ~/.WoPadman/wop/
+
+echo "#!/bin/sh
+cd wop-install/
+
+case \$OS_ARCH in
+ \"x86_64\" )
+ ./WoP32 \$@ 2>&1 | grep fps
+ ;;
+ * )
+ ./WoP64 \$@ 2>&1 | grep fps
+ ;;
+esac" > padman
+chmod +x padman
diff --git a/pts/test-resources/padman/parse-results.php b/pts/test-resources/padman/parse-results.php
new file mode 100755
index 0000000..f75e04d
--- /dev/null
+++ b/pts/test-resources/padman/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;
+?>