summaryrefslogtreecommitdiffstats
path: root/pts/test-resources/unigine-tropics
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-08-31 07:08:33 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-08-31 07:08:33 -0400
commit5ecfefc9e281d2de6c85d1a82344d4513b31888a (patch)
treefb4b3cfd09f00f1706ce8fecd3c9c7c6dc648ef3 /pts/test-resources/unigine-tropics
parent94fc109583cce5ab04040d5c47405d524097985e (diff)
downloadphoronix-test-suite-upstream-5ecfefc9e281d2de6c85d1a82344d4513b31888a.tar.gz
phoronix-test-suite-upstream-5ecfefc9e281d2de6c85d1a82344d4513b31888a.tar.xz
phoronix-test-suite-upstream-5ecfefc9e281d2de6c85d1a82344d4513b31888a.zip
pts: At the last minute, Unigine Corp decides to rename unigine-islands
to unigine-tropics. This demo should start working on the 1st or 2nd of September.
Diffstat (limited to 'pts/test-resources/unigine-tropics')
-rw-r--r--pts/test-resources/unigine-tropics/downloads.xml8
-rwxr-xr-xpts/test-resources/unigine-tropics/install.sh10
-rw-r--r--pts/test-resources/unigine-tropics/parse-results.php5
3 files changed, 23 insertions, 0 deletions
diff --git a/pts/test-resources/unigine-tropics/downloads.xml b/pts/test-resources/unigine-tropics/downloads.xml
new file mode 100644
index 0000000..a88512b
--- /dev/null
+++ b/pts/test-resources/unigine-tropics/downloads.xml
@@ -0,0 +1,8 @@
+<PhoronixTestSuite>
+ <Downloads>
+ <Package>
+ <URL>http://www.unigine.com/download/files/Unigine_Tropics_Linux.tar.bz2</URL>
+ </Package>
+ </Downloads>
+</PhoronixTestSuite>
+
diff --git a/pts/test-resources/unigine-tropics/install.sh b/pts/test-resources/unigine-tropics/install.sh
new file mode 100755
index 0000000..c72cf69
--- /dev/null
+++ b/pts/test-resources/unigine-tropics/install.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+tar -jxvf Unigine_Tropics_Linux.tar.bz2
+
+echo "#!/bin/sh
+cd Unigine_Tropics_Linux/
+export LD_LIBRARY_PATH=bin/:\$LD_LIBRARY_PATH
+./bin/main_x86 \$@ 2>&1 | grep FPS" > unigine-tropics
+chmod +x unigine-tropics
+
diff --git a/pts/test-resources/unigine-tropics/parse-results.php b/pts/test-resources/unigine-tropics/parse-results.php
new file mode 100644
index 0000000..35a388d
--- /dev/null
+++ b/pts/test-resources/unigine-tropics/parse-results.php
@@ -0,0 +1,5 @@
+<?php
+
+$BENCHMARK_RESULTS = substr($argv[1], strrpos($argv[1], "FPS:") + 5);
+echo trim(substr($BENCHMARK_RESULTS, 0, strpos($BENCHMARK_RESULTS, "\n")));
+?>