summaryrefslogtreecommitdiffstats
path: root/pts/test-resources/build-mysql/install.sh
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/build-mysql/install.sh
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/build-mysql/install.sh')
-rwxr-xr-xpts/test-resources/build-mysql/install.sh13
1 files changed, 13 insertions, 0 deletions
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