diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-05-21 21:15:18 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-05-21 21:15:18 -0400 |
commit | f6e6bd576c7f21a18a8947709119d2e85251bc9c (patch) | |
tree | a32e9a538deaa01c8767d5d4e553748f17ae8556 /pts | |
parent | 26e2cb806565ba148a5e6f0fac4efeb7e17ca08b (diff) | |
download | phoronix-test-suite-upstream-f6e6bd576c7f21a18a8947709119d2e85251bc9c.tar.gz phoronix-test-suite-upstream-f6e6bd576c7f21a18a8947709119d2e85251bc9c.tar.xz phoronix-test-suite-upstream-f6e6bd576c7f21a18a8947709119d2e85251bc9c.zip |
Add specviewperf10 test profile for SPECViewPerf 10.0. Auto-detects CPU
cores for multi-threading, but the multi-sampling setup still needs to
be provided as an option... Use multisampleRunAll in viewperf.config.
Needs testing and other work...
Diffstat (limited to 'pts')
-rw-r--r-- | pts/test-profiles/specviewperf10.xml | 61 | ||||
-rw-r--r-- | pts/test-resources/specviewperf10/downloads.xml | 12 | ||||
-rw-r--r-- | pts/test-resources/specviewperf10/install.sh | 57 | ||||
-rw-r--r-- | pts/test-resources/specviewperf10/parse-results.php | 6 |
4 files changed, 136 insertions, 0 deletions
diff --git a/pts/test-profiles/specviewperf10.xml b/pts/test-profiles/specviewperf10.xml new file mode 100644 index 0000000..65891cc --- /dev/null +++ b/pts/test-profiles/specviewperf10.xml @@ -0,0 +1,61 @@ +<PhoronixTestSuite> + <TestProfile> + <Version>0.5</Version> + <TestType>Graphics</TestType> + <SoftwareType>Utility</SoftwareType> + <License>FREE</License> + <Status>VERIFIED</Status> + <Maintainer>Michael Larabel</Maintainer> + <DownloadSize>585</DownloadSize> + </TestProfile> + <TestInformation> + <Title>SPECViewPerf</Title> + <Version>10.0</Version> + <ExternalDependencies>build-utilities, glut, csh, libpng-development</ExternalDependencies> + <TimesToRun>1</TimesToRun> + <ResultScale>Weighted Geometric Mean</ResultScale> + <Proportion>HIB</Proportion> + <Description>This test runs SPECViewPerf 10.0.</Description> + </TestInformation> + <TestSettings> + <Option> + <DisplayName>SPECViewPerf Test</DisplayName> + <Identifier>run-test</Identifier> + <ArgumentName></ArgumentName> + <Menu> + <Entry> + <Name>3dsmax-04</Name> + <Value>3dsmax</Value> + </Entry> + <Entry> + <Name>catia-02</Name> + <Value>catia</Value> + </Entry> + <Entry> + <Name>ensight-03</Name> + <Value>ensight</Value> + </Entry> + <Entry> + <Name>maya-02</Name> + <Value>maya</Value> + </Entry> + <Entry> + <Name>proe-04</Name> + <Value>proe</Value> + </Entry> + <Entry> + <Name>sw-01</Name> + <Value>sw</Value> + </Entry> + <Entry> + <Name>tcvis-01</Name> + <Value>tcvis</Value> + </Entry> + <Entry> + <Name>ugnx-01</Name> + <Value>ugnx</Value> + </Entry> + </Menu> + </Option> + </TestSettings> +</PhoronixTestSuite> diff --git a/pts/test-resources/specviewperf10/downloads.xml b/pts/test-resources/specviewperf10/downloads.xml new file mode 100644 index 0000000..f18e54b --- /dev/null +++ b/pts/test-resources/specviewperf10/downloads.xml @@ -0,0 +1,12 @@ +<PhoronixTestSuite> + <Downloads> + <Package> + <URL>ftp://spec.it.miami.edu/dist/gpc/opc/viewperf/unix/SPECViewperf10.tgz, ftp://spec.unipv.it/dist/gpc/opc/viewperf/unix/SPECViewperf10.tgz, ftp://ftpsv1.u-aizu.ac.jp/pub/spec/dist/gpc/opc/viewperf/unix/SPECViewperf10.tgz</URL> + <MD5>73eea64f6f9702a78795d0d42843b7fe</MD5> + </Package> + <Package> + <URL>http://www.phoronix-test-suite.com/benchmark-files/SPECViewPerf10-Configure.tar.gz</URL> + <MD5>dc12b96f04bcc6c837a399465694901a</MD5> + </Package> + </Downloads> +</PhoronixTestSuite> diff --git a/pts/test-resources/specviewperf10/install.sh b/pts/test-resources/specviewperf10/install.sh new file mode 100644 index 0000000..96ba74a --- /dev/null +++ b/pts/test-resources/specviewperf10/install.sh @@ -0,0 +1,57 @@ +#!/bin/sh + +cd $1 + +tar -xvf SPECViewPerf10-Configure.tar.gz +tar -xvf SPECViewperf10.tgz + +cp -f SPECViewPerf10-Configure SPECViewperf10/viewperf/viewperf10.0/src/Configure +chmod +x SPECViewperf10/viewperf/viewperf10.0/src/Configure +cd SPECViewperf10/viewperf/viewperf10.0/src/ +./Configure +cd $1 + +echo "#!/bin/sh + +cd SPECViewperf10/viewperf/viewperf10.0/ + +echo \"screenHeight \$VIDEO_HEIGHT +screenWidth \$VIDEO_WIDTH +threads \$NUM_CPU_CORES +\" > viewperf.config + +case \"\$1\" in +\"3dsmax\") + ./Run_3dsmax.csh + grep \"Composite Score\" results/3dsmax-04/*result.txt + ;; +\"catia\") + ./Run_catia.csh + grep \"Composite Score\" results/catia-02/*result.txt + ;; +\"ensight\") + ./Run_ensight.csh + grep \"Composite Score\" results/ensight-03/*result.txt + ;; +\"maya\") + ./Run_maya.csh + grep \"Composite Score\" results/maya-02/*result.txt + ;; +\"proe\") + ./Run_proe.csh + grep \"Composite Score\" results/proe-04/*result.txt + ;; +\"sw\") + ./Run_sw.csh + grep \"Composite Score\" results/sw-01/*result.txt + ;; +\"tcvis\") + ./Run_tcvis.csh + grep \"Composite Score\" results/tcvis-01/*result.txt + ;; +\"ugnx\") + ./Run_ugnx.csh + grep \"Composite Score\" results/ugnx-01/*result.txt + ;; +esac" > specviewperf10 +chmod +x specviewperf10 diff --git a/pts/test-resources/specviewperf10/parse-results.php b/pts/test-resources/specviewperf10/parse-results.php new file mode 100644 index 0000000..a75992c --- /dev/null +++ b/pts/test-resources/specviewperf10/parse-results.php @@ -0,0 +1,6 @@ +<?php + +$BENCHMARK_RESULTS = substr($argv[1], strrpos($argv[1], "Composite Score :") + 17); +echo trim(substr($BENCHMARK_RESULTS, 0, strpos($BENCHMARK_RESULTS, "\n"))); + +?> |