diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-30 15:05:50 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-08-30 15:05:50 -0400 |
commit | c744519935521dae359f8b0aaeede98969affc77 (patch) | |
tree | 3ddbac0309a21baa2e29da31638e74759ee93a7f /pts/test-resources | |
parent | 5d14eb5b62840c2a4e6f9f4ec606351110d82db8 (diff) | |
download | phoronix-test-suite-upstream-c744519935521dae359f8b0aaeede98969affc77.tar.gz phoronix-test-suite-upstream-c744519935521dae359f8b0aaeede98969affc77.tar.xz phoronix-test-suite-upstream-c744519935521dae359f8b0aaeede98969affc77.zip |
pts: Add unigine-islands test profile for new Unigine Islands technology
demo
Diffstat (limited to 'pts/test-resources')
-rw-r--r-- | pts/test-resources/unigine-islands/downloads.xml | 8 | ||||
-rwxr-xr-x | pts/test-resources/unigine-islands/install.sh | 10 | ||||
-rw-r--r-- | pts/test-resources/unigine-islands/parse-results.php | 5 |
3 files changed, 23 insertions, 0 deletions
diff --git a/pts/test-resources/unigine-islands/downloads.xml b/pts/test-resources/unigine-islands/downloads.xml new file mode 100644 index 0000000..29e85bf --- /dev/null +++ b/pts/test-resources/unigine-islands/downloads.xml @@ -0,0 +1,8 @@ +<PhoronixTestSuite> + <Downloads> + <Package> + <URL>http://www.unigine.com/download/files/Unigine_Islands_Linux.tar.bz2</URL> + </Package> + </Downloads> +</PhoronixTestSuite> + diff --git a/pts/test-resources/unigine-islands/install.sh b/pts/test-resources/unigine-islands/install.sh new file mode 100755 index 0000000..03daff7 --- /dev/null +++ b/pts/test-resources/unigine-islands/install.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +tar -jxvf Unigine_Islands_Linux.tar.bz2 + +echo "#!/bin/sh +cd Unigine_Islands_Linux/ +export LD_LIBRARY_PATH=bin/:\$LD_LIBRARY_PATH +./bin/main_x86 \$@ 2>&1 | grep FPS" > unigine-islands +chmod +x unigine-islands + diff --git a/pts/test-resources/unigine-islands/parse-results.php b/pts/test-resources/unigine-islands/parse-results.php new file mode 100644 index 0000000..35a388d --- /dev/null +++ b/pts/test-resources/unigine-islands/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"))); +?> |