summaryrefslogtreecommitdiffstats
path: root/pts/test-resources
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-12-28 11:38:52 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-12-28 11:38:52 -0500
commit6158873697f91216675752ca789db3924c5d0fbc (patch)
treebc7a4e38eeda5c857d88a66dd9e81556c7ccf412 /pts/test-resources
parente73f1137c8cbaa38e2225b836d8b560c18fc9070 (diff)
downloadphoronix-test-suite-upstream-6158873697f91216675752ca789db3924c5d0fbc.tar.gz
phoronix-test-suite-upstream-6158873697f91216675752ca789db3924c5d0fbc.tar.xz
phoronix-test-suite-upstream-6158873697f91216675752ca789db3924c5d0fbc.zip
pts: Add build-mysql test profile for timed build of MySQL 5.1
Diffstat (limited to 'pts/test-resources')
-rw-r--r--pts/test-resources/build-mysql/downloads.xml9
-rwxr-xr-xpts/test-resources/build-mysql/install.sh13
-rwxr-xr-xpts/test-resources/build-mysql/post.sh4
3 files changed, 26 insertions, 0 deletions
diff --git a/pts/test-resources/build-mysql/downloads.xml b/pts/test-resources/build-mysql/downloads.xml
new file mode 100644
index 0000000..6f667a0
--- /dev/null
+++ b/pts/test-resources/build-mysql/downloads.xml
@@ -0,0 +1,9 @@
+<PhoronixTestSuite>
+ <Downloads>
+ <Package>
+ <URL>http://download.softagency.net/MySQL/Downloads/MySQL-5.1/mysql-5.1.30.tar.gz, http://ftp.up.ac.za/pub/windows/MySQL/Downloads/MySQL-5.1/mysql-5.1.30.tar.gz, http://lsd.linux.cz/pub/mysql/Downloads/MySQL-5.1/mysql-5.1.30.tar.gz, http://distfiles.macports.org/mysql5/mysql-5.1.30.tar.gz</URL>
+ <MD5>b658e58887a74dce65224ae0fc8ee06a</MD5>
+ <FileSize>29050568</FileSize>
+ </Package>
+ </Downloads>
+</PhoronixTestSuite>
diff --git a/pts/test-resources/build-mysql/install.sh b/pts/test-resources/build-mysql/install.sh
new file mode 100755
index 0000000..4087965
--- /dev/null
+++ b/pts/test-resources/build-mysql/install.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+echo "#!/bin/sh
+
+rm -rf mysql-5.1.30/
+tar -xvf mysql-5.1.30.tar.gz
+cd mysql-5.1.30/
+./configure > /dev/null 2>&1
+\$TIMER_START
+make -s -j \$NUM_CPU_JOBS 2>&1
+\$TIMER_STOP" > build-mysql
+
+chmod +x build-mysql
diff --git a/pts/test-resources/build-mysql/post.sh b/pts/test-resources/build-mysql/post.sh
new file mode 100755
index 0000000..0240980
--- /dev/null
+++ b/pts/test-resources/build-mysql/post.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd $1
+rm -rf mysql-5.1.30/