summaryrefslogtreecommitdiffstats
path: root/pts/test-resources/sqlite
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-10-11 20:13:58 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-10-11 20:13:58 -0400
commit9a5284619f8366799aa49f130d9d513a48291aeb (patch)
tree2060ec397301296d097aa25a53c3b56d24b176ed /pts/test-resources/sqlite
parent1246dc3476bf2f194dfbf569bab991dcb73375b2 (diff)
downloadphoronix-test-suite-upstream-9a5284619f8366799aa49f130d9d513a48291aeb.tar.gz
phoronix-test-suite-upstream-9a5284619f8366799aa49f130d9d513a48291aeb.tar.xz
phoronix-test-suite-upstream-9a5284619f8366799aa49f130d9d513a48291aeb.zip
pts: Update sqlite test profile to SQLite version 3.6.3
Diffstat (limited to 'pts/test-resources/sqlite')
-rw-r--r--pts/test-resources/sqlite/downloads.xml6
-rwxr-xr-xpts/test-resources/sqlite/install.sh8
2 files changed, 7 insertions, 7 deletions
diff --git a/pts/test-resources/sqlite/downloads.xml b/pts/test-resources/sqlite/downloads.xml
index 6ddf4ab..c550abe 100644
--- a/pts/test-resources/sqlite/downloads.xml
+++ b/pts/test-resources/sqlite/downloads.xml
@@ -1,9 +1,9 @@
<PhoronixTestSuite>
<Downloads>
<Package>
- <URL>http://www.sqlite.org/sqlite-3.6.1.tar.gz</URL>
- <MD5>eeef61635d89710bb8d976c2a0b99841</MD5>
- <FileSize>2187909</FileSize>
+ <URL>http://www.sqlite.org/sqlite-3.6.3.tar.gz</URL>
+ <MD5>671d2715f33158abc47a7a2ddd6066c5</MD5>
+ <FileSize>2332857</FileSize>
</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 ef7f913..2f17a82 100755
--- 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.6.1.tar.gz
+tar -xvf sqlite-3.6.3.tar.gz
-cd sqlite-3.6.1/
+cd sqlite-3.6.3/
./configure
make -j $NUM_CPU_JOBS
cd ..
echo "#!/bin/sh
-cat sqlite-2500-insertions.txt | ./sqlite-3.6.1/sqlite3 benchmark.db" > sqlite-inserts
+cat sqlite-2500-insertions.txt | ./sqlite-3.6.3/sqlite3 benchmark.db" > sqlite-inserts
chmod +x sqlite-inserts
echo "#!/bin/sh
rm -f benchmark.db
-./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'));\"
+./sqlite-3.6.3/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'));\"
\$TIMER_START
./sqlite-inserts 2>&1
\$TIMER_STOP