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/fract.xml b/pts/benchmark-profiles/fract.xml
new file mode 100644
index 0000000..95fc942
--- /dev/null
+++ b/pts/benchmark-profiles/fract.xml
@@ -0,0 +1,20 @@
+<PTSBenchmark>
+ <PhoronixTestSuite>
+ <Version>0.2</Version>
+ <BenchmarkType>Graphics</BenchmarkType>
+ <ApplicationType>Utility</ApplicationType>
+ <License>FREE</License>
+ <Status>VERIFIED</Status>
+ <Maintainer>Michael Larabel</Maintainer>
+ </PhoronixTestSuite>
+ <Information>
+ <Title>FRACT</Title>
+ <Version>1.07b</Version>
+ <Identifier>fract</Identifier>
+ <Executable>fract</Executable>
+ <TimesToRun>1</TimesToRun>
+ <ResultScale>FPS</ResultScale>
+ <Description>This test uses the FRACT benchmark.</Description>
+ <Notes> </Notes>
+ </Information>
+</PTSBenchmark>
diff --git a/pts/benchmark-resources/fract/install.sh b/pts/benchmark-resources/fract/install.sh
new file mode 100644
index 0000000..11696e4
--- /dev/null
+++ b/pts/benchmark-resources/fract/install.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+cd $1
+
+if [ ! -f fract-1.07b.tar.bz2 ]
+ then
+ wget http://www.fbench.com/fract-1.07b.tar.bz2 -O fract-1.07b.tar.bz2
+fi
+if [ ! -f fract-scene.h.patch ]
+ then
+ wget http://www.phoronix-test-suite.com/benchmark-files/fract-scene.h.patch -O fract-scene.h.patch
+fi
+
+tar -jxvf fract-1.07b.tar.bz2
+cp fract-scene.h.patch fract-1.07b/
+cd fract-1.07b/
+patch -p0 < fract-scene.h.patch
+./configure
+make
+cd ..
+
+echo "#!/bin/sh
+cd fract-1.07b/
+./src/fract \$@" > fract
+chmod +x fract
+
diff --git a/pts/benchmark-resources/fract/parse-results.php b/pts/benchmark-resources/fract/parse-results.php
new file mode 100644
index 0000000..ee97401
--- /dev/null
+++ b/pts/benchmark-resources/fract/parse-results.php
@@ -0,0 +1,6 @@
+<?php
+
+$BENCHMARK_RESULTS = substr($argv[1], strpos($argv[1], "this yields") + 11);
+echo trim(substr($BENCHMARK_RESULTS, 0, strpos($BENCHMARK_RESULTS, "FPS")));
+
+
Copyright © 2010 by Phoronix Media