From ad786fec44818ad6b8b5497e97e3b40b4bcb66a8 Mon Sep 17 00:00:00 2001 From: Michael Larabel Date: Sun, 4 Jan 2009 21:08:09 -0500 Subject: pts: Add smokin-guns test profile for Quake 3 Smokin' Guns game --- CHANGE-LOG | 1 + pts/test-profiles/smokin-guns.xml | 37 ++++++++++++++++++++++++ pts/test-resources/smokin-guns/downloads.xml | 15 ++++++++++ pts/test-resources/smokin-guns/install.sh | 19 ++++++++++++ pts/test-resources/smokin-guns/parse-results.php | 6 ++++ 5 files changed, 78 insertions(+) create mode 100644 pts/test-profiles/smokin-guns.xml create mode 100644 pts/test-resources/smokin-guns/downloads.xml create mode 100755 pts/test-resources/smokin-guns/install.sh create mode 100755 pts/test-resources/smokin-guns/parse-results.php diff --git a/CHANGE-LOG b/CHANGE-LOG index a94c34a..8f09583 100644 --- a/CHANGE-LOG +++ b/CHANGE-LOG @@ -3,6 +3,7 @@ PHORONIX TEST SUITE CHANGE-LOG Phoronix Test Suite (Git) - pts-core: Add FORCE_TIMES_TO_RUN environmental variable for forcing the number of times to run a test +- pts: Add smokin-guns test profile for Quake 3 Smokin' Guns game Phoronix Test Suite 1.6.0 Beta 2 January 2, 2009 diff --git a/pts/test-profiles/smokin-guns.xml b/pts/test-profiles/smokin-guns.xml new file mode 100644 index 0000000..d3e23d8 --- /dev/null +++ b/pts/test-profiles/smokin-guns.xml @@ -0,0 +1,37 @@ + + + 1.0.0 + Graphics + Game + FREE + VERIFIED + Michael Larabel + 348 + x86, x86_64 + http://www.smokin-guns.net/ + MacOSX, Solaris, BSD + + + Smokin Guns + 1.0 + 3 + Frames Per Second + HIB + Smokin Guns is an open-source game based on the Quake 3 engine that is a western-themed first person shooter. + + + + +timedemo 1 +set demodone "quit" +set demoloop1 "demo pts; set nextdemo vstr demodone" +vstr demoloop1 + + + + diff --git a/pts/test-resources/smokin-guns/downloads.xml b/pts/test-resources/smokin-guns/downloads.xml new file mode 100644 index 0000000..d1c39ae --- /dev/null +++ b/pts/test-resources/smokin-guns/downloads.xml @@ -0,0 +1,15 @@ + + + + http://www.smokinguns.fr/download/Smokin_Guns_1.0.zip, http://ftp.jeuxlinux.fr/files/Smokin_Guns_1.0.zip + 6e6a980bd057e9241c66b7324729c7b9 + 359156581 + + + http://www.phoronix-test-suite.com/benchmark-files/smokinguns-benchmark-1.tar.gz, http://www.phoronix.net/downloads/phoronix-test-suite/benchmark-files/smokinguns-benchmark-1.tar.gz + 77d2ef965790b1948595002a4f0ff0db + 1165158 + + + + diff --git a/pts/test-resources/smokin-guns/install.sh b/pts/test-resources/smokin-guns/install.sh new file mode 100755 index 0000000..3d1c985 --- /dev/null +++ b/pts/test-resources/smokin-guns/install.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +unzip -o Smokin_Guns_1.0.zip +cd Smokin\'\ Guns/ +chmod +x smokinguns.x86 +cd .. + + +tar -xvf smokinguns-benchmark-1.tar.gz +mkdir -p ~/.smokinguns/smokinguns/ +mv -f q3config.cfg ~/.smokinguns/smokinguns/ +mv -f demos/ ~/.smokinguns/smokinguns/ + +echo "#!/bin/sh +cd Smokin\'\ Guns/ + +./smokinguns.x86 \$@ > \$LOG_FILE 2>&1 +cat \$LOG_FILE | grep fps" > smokin-guns +chmod +x smokin-guns diff --git a/pts/test-resources/smokin-guns/parse-results.php b/pts/test-resources/smokin-guns/parse-results.php new file mode 100755 index 0000000..c17c021 --- /dev/null +++ b/pts/test-resources/smokin-guns/parse-results.php @@ -0,0 +1,6 @@ + -- cgit