summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-09-11 21:35:36 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-09-11 21:35:36 -0400
commitb53aa9bb53a031a3eefc165a88ad1d55d174b608 (patch)
tree3a829a2e753c39389c4577738e54d1e1dd6072d2
parent887f737b3d333f5b20241af444bf5b3405dc44f2 (diff)
downloadphoronix-test-suite-upstream-b53aa9bb53a031a3eefc165a88ad1d55d174b608.tar.gz
phoronix-test-suite-upstream-b53aa9bb53a031a3eefc165a88ad1d55d174b608.tar.xz
phoronix-test-suite-upstream-b53aa9bb53a031a3eefc165a88ad1d55d174b608.zip
pts: Switch all build tests to extend a timed-build base test instead of
all tests having some of the same code copied throughout
-rw-r--r--EXPERIMENTAL-CHANGE-LOG1
-rw-r--r--pts/test-profiles/base/timed-build.xml15
-rw-r--r--pts/test-profiles/build-apache.xml12
-rw-r--r--pts/test-profiles/build-imagemagick.xml12
-rw-r--r--pts/test-profiles/build-linux-kernel.xml12
-rw-r--r--pts/test-profiles/build-mplayer.xml12
-rw-r--r--pts/test-profiles/build-php.xml12
7 files changed, 26 insertions, 50 deletions
diff --git a/EXPERIMENTAL-CHANGE-LOG b/EXPERIMENTAL-CHANGE-LOG
index c002daa..d9dfa74 100644
--- a/EXPERIMENTAL-CHANGE-LOG
+++ b/EXPERIMENTAL-CHANGE-LOG
@@ -14,6 +14,7 @@ Phoronix Test Suite
- pts-core: A test profile isn't real: likely incomplete or just a base test within a Self-Contained Test Profile extension
- pts-core: Report identifiers of test profiles being extended to the test profiles being run
- pts: Switch all audio encoding tests to extend a timed-audio-encode base test instead of all tests having some of the same code copied throughout
+- pts: Switch all build tests to extend a timed-build base test instead of all tests having some of the same code copied throughout
- tandem_Xml: Add a pts_test_tandem_XmlReader object that extends tandem_XmlReader but takes advantage of the handleXmlZeroTagFallback
- tandem_Xml: Add fallback function handler support when a tag isn't found
- documentation: Add basic documentation concerning the Self-Contained Test Profiles (SCTP) XML tags that are added
diff --git a/pts/test-profiles/base/timed-build.xml b/pts/test-profiles/base/timed-build.xml
new file mode 100644
index 0000000..d19520d
--- /dev/null
+++ b/pts/test-profiles/base/timed-build.xml
@@ -0,0 +1,15 @@
+<PhoronixTestSuite>
+ <TestProfile>
+ <TestType>Processor</TestType>
+ <SoftwareType>Utility</SoftwareType>
+ <License>FREE</License>
+ <Status>VERIFIED</Status>
+ </TestProfile>
+ <TestInformation>
+ <SubTitle>Time To Compile</SubTitle>
+ <TimesToRun>1</TimesToRun>
+ <ExternalDependencies>build-utilities</ExternalDependencies>
+ <ResultScale>Seconds</ResultScale>
+ <Proportion>LIB</Proportion>
+ </TestInformation>
+</PhoronixTestSuite>
diff --git a/pts/test-profiles/build-apache.xml b/pts/test-profiles/build-apache.xml
index 204b467..ff53860 100644
--- a/pts/test-profiles/build-apache.xml
+++ b/pts/test-profiles/build-apache.xml
@@ -1,23 +1,15 @@
<PhoronixTestSuite>
<TestProfile>
- <Version>1.0.1</Version>
- <TestType>Processor</TestType>
- <SoftwareType>Utility</SoftwareType>
- <License>FREE</License>
- <Status>VERIFIED</Status>
+ <Version>1.1.0</Version>
<Maintainer>Michael Larabel</Maintainer>
<DownloadSize>5.8</DownloadSize>
<ProjectURL>http://www.apache.org/</ProjectURL>
+ <Extends>timed-build</Extends>
</TestProfile>
<TestInformation>
<Title>Timed Apache Compilation</Title>
<Version>2.2.8</Version>
- <SubTitle>Time To Compile</SubTitle>
<Executable>time-compile-apache</Executable>
- <TimesToRun>1</TimesToRun>
- <ExternalDependencies>build-utilities</ExternalDependencies>
- <ResultScale>Seconds</ResultScale>
- <Proportion>LIB</Proportion>
<Description>This test times how long it takes to build Apache HTTPD 2.2.8.</Description>
</TestInformation>
</PhoronixTestSuite>
diff --git a/pts/test-profiles/build-imagemagick.xml b/pts/test-profiles/build-imagemagick.xml
index 4f834f8..c03470f 100644
--- a/pts/test-profiles/build-imagemagick.xml
+++ b/pts/test-profiles/build-imagemagick.xml
@@ -1,23 +1,15 @@
<PhoronixTestSuite>
<TestProfile>
- <Version>1.0.0</Version>
- <TestType>Processor</TestType>
- <SoftwareType>Utility</SoftwareType>
- <License>FREE</License>
- <Status>VERIFIED</Status>
+ <Version>1.1.0</Version>
<Maintainer>Michael Larabel</Maintainer>
<DownloadSize>8.4</DownloadSize>
<ProjectURL>http://www.imagemagick.org/</ProjectURL>
+ <Extends>timed-build</Extends>
</TestProfile>
<TestInformation>
<Title>ImageMagick Compilation</Title>
<Version>6.4.0</Version>
- <SubTitle>Time To Compile</SubTitle>
<Executable>time-compile-imagemagick</Executable>
- <TimesToRun>1</TimesToRun>
- <ExternalDependencies>build-utilities</ExternalDependencies>
- <ResultScale>Seconds</ResultScale>
- <Proportion>LIB</Proportion>
<Description>This test times how long it takes to build ImageMagick.</Description>
</TestInformation>
</PhoronixTestSuite>
diff --git a/pts/test-profiles/build-linux-kernel.xml b/pts/test-profiles/build-linux-kernel.xml
index ecfde69..fdd001a 100644
--- a/pts/test-profiles/build-linux-kernel.xml
+++ b/pts/test-profiles/build-linux-kernel.xml
@@ -1,23 +1,15 @@
<PhoronixTestSuite>
<TestProfile>
- <Version>1.0.0</Version>
- <TestType>Processor</TestType>
- <SoftwareType>Utility</SoftwareType>
- <License>FREE</License>
- <Status>VERIFIED</Status>
+ <Version>1.1.0</Version>
<Maintainer>Michael Larabel</Maintainer>
<DownloadSize>46.4</DownloadSize>
<ProjectURL>http://www.kernel.org/</ProjectURL>
+ <Extends>timed-build</Extends>
</TestProfile>
<TestInformation>
<Title>Timed Linux Kernel Compilation</Title>
<Version>2.6.25</Version>
- <SubTitle>Time To Compile</SubTitle>
<Executable>time-compile-kernel</Executable>
- <TimesToRun>1</TimesToRun>
- <ResultScale>Seconds</ResultScale>
- <ExternalDependencies>build-utilities</ExternalDependencies>
- <Proportion>LIB</Proportion>
<Description>This test times how long it takes to build the Linux 2.6.25 kernel.</Description>
</TestInformation>
</PhoronixTestSuite>
diff --git a/pts/test-profiles/build-mplayer.xml b/pts/test-profiles/build-mplayer.xml
index 6b5e46e..0472321 100644
--- a/pts/test-profiles/build-mplayer.xml
+++ b/pts/test-profiles/build-mplayer.xml
@@ -1,23 +1,15 @@
<PhoronixTestSuite>
<TestProfile>
- <Version>1.0.0</Version>
- <TestType>Processor</TestType>
- <SoftwareType>Utility</SoftwareType>
- <License>FREE</License>
- <Status>VERIFIED</Status>
+ <Version>1.1.0</Version>
<Maintainer>Michael Larabel</Maintainer>
<DownloadSize>8.9</DownloadSize>
<ProjectURL>http://www.mplayerhq.hu/</ProjectURL>
+ <Extends>timed-build</Extends>
</TestProfile>
<TestInformation>
<Title>Timed MPlayer Compilation</Title>
<Version>1.0-rc2</Version>
- <SubTitle>Time To Compile</SubTitle>
<Executable>time-compile-mplayer</Executable>
- <TimesToRun>1</TimesToRun>
- <ExternalDependencies>build-utilities</ExternalDependencies>
- <ResultScale>Seconds</ResultScale>
- <Proportion>LIB</Proportion>
<Description>This test times how long it takes to build the MPlayer media player program.</Description>
</TestInformation>
</PhoronixTestSuite>
diff --git a/pts/test-profiles/build-php.xml b/pts/test-profiles/build-php.xml
index 492c99a..bb05ce4 100644
--- a/pts/test-profiles/build-php.xml
+++ b/pts/test-profiles/build-php.xml
@@ -1,24 +1,16 @@
<PhoronixTestSuite>
<TestProfile>
- <Version>1.0.0</Version>
- <TestType>Processor</TestType>
- <SoftwareType>Utility</SoftwareType>
- <License>FREE</License>
- <Status>VERIFIED</Status>
+ <Version>1.1.0</Version>
<Maintainer>Michael Larabel</Maintainer>
<DownloadSize>16.4</DownloadSize>
<EnvironmentSize>49.3</EnvironmentSize>
<ProjectURL>http://www.php.net/</ProjectURL>
+ <Extends>timed-build</Extends>
</TestProfile>
<TestInformation>
<Title>Timed PHP Compilation</Title>
<Version>5.2.5</Version>
- <SubTitle>Time To Compile</SubTitle>
<Executable>time-compile-php</Executable>
- <TimesToRun>1</TimesToRun>
- <ExternalDependencies>build-utilities</ExternalDependencies>
- <ResultScale>Seconds</ResultScale>
- <Proportion>LIB</Proportion>
<Description>This test times how long it takes to build PHP 5 with the Zend engine.</Description>
</TestInformation>
</PhoronixTestSuite>