summaryrefslogtreecommitdiffstats
path: root/pts/test-resources/sqlite
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-08-11 12:28:04 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-08-11 12:28:04 -0400
commitec6c3dad5752e00b4d07ff1132c920887862025e (patch)
tree8959a8360001ed08e99c12dbeec8e58bc02a7954 /pts/test-resources/sqlite
parent1f42363f515e17f3d8a9bfb7f6d96b421ed3fa34 (diff)
downloadphoronix-test-suite-upstream-ec6c3dad5752e00b4d07ff1132c920887862025e.tar.gz
phoronix-test-suite-upstream-ec6c3dad5752e00b4d07ff1132c920887862025e.tar.xz
phoronix-test-suite-upstream-ec6c3dad5752e00b4d07ff1132c920887862025e.zip
pts: Upgrade sqlite test profile to SQLite 3.6.1
Diffstat (limited to 'pts/test-resources/sqlite')
-rw-r--r--pts/test-resources/sqlite/downloads.xml4
-rw-r--r--pts/test-resources/sqlite/install.sh8
2 files changed, 6 insertions, 6 deletions
diff --git a/pts/test-resources/sqlite/downloads.xml b/pts/test-resources/sqlite/downloads.xml
index 8588a63..e5c2169 100644
--- a/pts/test-resources/sqlite/downloads.xml
+++ b/pts/test-resources/sqlite/downloads.xml
@@ -1,8 +1,8 @@
<PhoronixTestSuite>
<Downloads>
<Package>
- <URL>http://www.sqlite.org/sqlite-3.5.9.tar.gz</URL>
- <MD5>b58412904b42fe49e5a281e99da0fd72</MD5>
+ <URL>http://www.sqlite.org/sqlite-3.6.1.tar.gz</URL>
+ <MD5>eeef61635d89710bb8d976c2a0b99841</MD5>
</Package>
<Package>
<URL>http://www.phoronix-test-suite.com/benchmark-files/pts-sqlite-tests-1.tar.gz, http://www.phoronix.net/downloads/phoronix-test-suite/benchmark-files/pts-sqlite-tests-1.tar.gz</URL>
diff --git a/pts/test-resources/sqlite/install.sh b/pts/test-resources/sqlite/install.sh
index 2533700..8869056 100644
--- a/pts/test-resources/sqlite/install.sh
+++ b/pts/test-resources/sqlite/install.sh
@@ -1,20 +1,20 @@
#!/bin/sh
tar -xvf pts-sqlite-tests-1.tar.gz
-tar -xvf sqlite-3.5.9.tar.gz
+tar -xvf sqlite-3.6.1.tar.gz
-cd sqlite-3.5.9/
+cd sqlite-3.6.1/
./configure
make -j $NUM_CPU_JOBS
cd ..
echo "#!/bin/sh
-cat sqlite-2500-insertions.txt | ./sqlite-3.5.9/sqlite3 benchmark.db" > sqlite-inserts
+cat sqlite-2500-insertions.txt | ./sqlite-3.6.1/sqlite3 benchmark.db" > sqlite-inserts
chmod +x sqlite-inserts
echo "#!/bin/sh
rm -f benchmark.db
-./sqlite-3.5.9/sqlite3 benchmark.db \"CREATE TABLE pts1 ('I' SMALLINT NOT NULL, 'DT' TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, 'F1' VARCHAR(4) NOT NULL, 'F2' VARCHAR(16) NOT NULL, PRIMARY KEY ('I'), UNIQUE ('I'));\"
+./sqlite-3.6.1/sqlite3 benchmark.db \"CREATE TABLE pts1 ('I' SMALLINT NOT NULL, 'DT' TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, 'F1' VARCHAR(4) NOT NULL, 'F2' VARCHAR(16) NOT NULL, PRIMARY KEY ('I'), UNIQUE ('I'));\"
/usr/bin/time -f \"SQLite Time: %e Seconds\" ./sqlite-inserts 2>&1
rm -f benchmark.db" > sqlite
chmod +x sqlite