/ Check-in [a91c5af3]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Alter some configurations in releasetest.tcl. Print out the wall-clock time taken for each test after it is executed.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: a91c5af3b033e326b868c3e6782650f6fe055b49
User & Date: dan 2010-09-13 11:29:02
Context
2010-09-13
12:15
Run the multi-threaded tests in test/threadtest3.c as part of releasetest.tcl. Remove the OMIT_BUILTIN_TEST symbol from the "Device-Two" configuration. check-in: 3f5406e3 user: dan tags: trunk
11:29
Alter some configurations in releasetest.tcl. Print out the wall-clock time taken for each test after it is executed. check-in: a91c5af3 user: dan tags: trunk
2010-09-11
17:37
Add tests for "DISTINCT" and "ALL" to e_select.test. check-in: 43a99d9a user: dan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to test/releasetest.tcl.

85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110



111
112

113










114

115






116
117
118
119
120
121




122







123

124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145

146
147
148
149

150

151
152
153
154

155
156
157
158
159
160
161
...
209
210
211
212
213
214
215


216

217



218
219
220
221
222
223
224
225
226
    -DSQLITE_TCL_DEFAULT_FULLMUTEX=1
    -DSQLITE_ENABLE_FTS3=1
    -DSQLITE_ENABLE_RTREE=1
    -DSQLITE_ENABLE_MEMSYS5=1
    -DSQLITE_ENABLE_MEMSYS3=1
    -DSQLITE_ENABLE_COLUMN_METADATA=1
  }
  "Memory-Leak" {
    -O2
    -DSQLITE_DEBUG=1
    -DSQLITE_MEMDEBUG=1
    -DSQLITE_OMIT_LOOKASIDE=1
    -DSQLITE_ENABLE_ASYNCIO=1
    -DSQLITE_TCL_DEFAULT_FULLMUTEX=1
  }
  "Device-One" {
    -O2
    -DSQLITE_DEBUG=1
    -DSQLITE_ENABLE_MEMORY_MANAGEMENT=1
    -DSQLITE_DISABLE_LFS=1
    -DSQLITE_DEFAULT_AUTOVACUUM=1
    -DSQLITE_DEFAULT_PAGE_SIZE=1024
    -DSQLITE_MAX_PAGE_SIZE=4096
    -DSQLITE_DEFAULT_CACHE_SIZE=64
    -DSQLITE_DEFAULT_TEMP_CACHE_SIZE=32
    -DSQLITE_TEMP_STORE=3



    -DSQLITE_OMIT_PROGRESS_CALLBACK=1
    -DSQLITE_OMIT_LOAD_EXTENSION=1

    -DSQLITE_OMIT_VIRTUALTABLE=1










    -DSQLITE_ENABLE_IOTRACE=1

    -DSQLITE_ENABLE_ATOMIC_WRITE=1






  }
  "Locking-Style" {
    -O2
    -DSQLITE_ENABLE_LOCKING_STYLE=1
  }
  "OS-X" {




    -DSQLITE_ENABLE_LOCKING_STYLE=1







    -DSQLITE_TCL_DEFAULT_FULLMUTEX=1

  }
  "Extra-Robustness" {
    -DSQLITE_ENABLE_OVERSIZE_CELL_CHECK=1
  }
  "Coverage" {
    -O0
    -fprofile-arcs
    -ftest-coverage
    -DSQLITE_COVERAGE_TEST=1
  } 
}

array set ::Platforms {
  Linux-x86_64 {
    "Secure-Delete"           test
    "Unlock-Notify"           "QUICKTEST_INCLUDE=notify2.test test"
    "Device-One"              fulltest
    "Update-Delete-Limit"     test
    "Debug-One"               test
    "Extra-Robustness"        test
    "Memory-Leak"             fulltest
    "Default"                 test

  }
  Linux-i686 {
    "Default"                 test
    "Unlock-Notify"           "QUICKTEST_INCLUDE=notify2.test test"

    "Device-One"              fulltest

  }
  Darwin-i386 {
    "OS-X"                    test
    "Locking-Style"           fulltest

  }
}

# End of configuration section.
#########################################################################
#########################################################################

................................................................................
  flush stdout

  set makecmd [concat                                  \
    [list exec make -C $dir -f $makefile clean]        \
    $testtarget                                        \
    [list CFLAGS=$cflags OPTS=$opts >& $dir/test.log]  \
  ]


  set rc [catch $makecmd]





  if {$rc} {
    puts " FAILED."
  } else {
    puts "Ok."
  }
}


# This proc processes the command line options passed to this script.







<
<
<
<
<
<
<
<



<
<

|
<
|

|
>
>
>
|

>

>
>
>
>
>
>
>
>
>
>
|
>
|
>
>
>
>
>
>






>
>
>
>

>
>
>
>
>
>
>
|
>




<
<
<
<
<
<






<



|

>


<

>
|
>


<
|
>







 







>
>

>

>
>
>

|







85
86
87
88
89
90
91








92
93
94


95
96

97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149






150
151
152
153
154
155

156
157
158
159
160
161
162
163

164
165
166
167
168
169

170
171
172
173
174
175
176
177
178
...
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
    -DSQLITE_TCL_DEFAULT_FULLMUTEX=1
    -DSQLITE_ENABLE_FTS3=1
    -DSQLITE_ENABLE_RTREE=1
    -DSQLITE_ENABLE_MEMSYS5=1
    -DSQLITE_ENABLE_MEMSYS3=1
    -DSQLITE_ENABLE_COLUMN_METADATA=1
  }








  "Device-One" {
    -O2
    -DSQLITE_DEBUG=1


    -DSQLITE_DEFAULT_AUTOVACUUM=1
    -DSQLITE_DEFAULT_CACHE_SIZE=64

    -DSQLITE_DEFAULT_PAGE_SIZE=1024
    -DSQLITE_DEFAULT_TEMP_CACHE_SIZE=32
    -DSQLITE_DISABLE_LFS=1
    -DSQLITE_ENABLE_ATOMIC_WRITE=1
    -DSQLITE_ENABLE_IOTRACE=1
    -DSQLITE_ENABLE_MEMORY_MANAGEMENT=1
    -DSQLITE_MAX_PAGE_SIZE=4096
    -DSQLITE_OMIT_LOAD_EXTENSION=1
    -DSQLITE_OMIT_PROGRESS_CALLBACK=1
    -DSQLITE_OMIT_VIRTUALTABLE=1
    -DSQLITE_TEMP_STORE=3
  }
  "Device-Two" {
    -DSQLITE_4_BYTE_ALIGNED_MALLOC=1
    -DSQLITE_DEFAULT_AUTOVACUUM=1
    -DSQLITE_DEFAULT_CACHE_SIZE=1000
    -DSQLITE_DEFAULT_LOCKING_MODE=0
    -DSQLITE_DEFAULT_PAGE_SIZE=1024
    -DSQLITE_DEFAULT_TEMP_CACHE_SIZE=1000
    -DSQLITE_DISABLE_LFS=1
    -DSQLITE_ENABLE_FTS3=1
    -DSQLITE_ENABLE_MEMORY_MANAGEMENT=1
    -DSQLITE_ENABLE_RTREE=1
    -DSQLITE_MAX_COMPOUND_SELECT=50
    -DSQLITE_MAX_PAGE_SIZE=32768
    -DSQLITE_OMIT_BUILTIN_TEST=1
    -DSQLITE_OMIT_TRACE=1
    -DSQLITE_TEMP_STORE=3
    -DSQLITE_THREADSAFE=2
  }
  "Locking-Style" {
    -O2
    -DSQLITE_ENABLE_LOCKING_STYLE=1
  }
  "OS-X" {
    -DSQLITE_OMIT_LOAD_EXTENSION=1
    -DSQLITE_DEFAULT_MEMSTATUS=0
    -DSQLITE_THREADSAFE=2
    -DSQLITE_OS_UNIX=1
    -DSQLITE_ENABLE_LOCKING_STYLE=1
    -DUSE_PREAD=1
    -DSQLITE_ENABLE_RTREE=1
    -DSQLITE_ENABLE_FTS3=1
    -DSQLITE_ENABLE_FTS3_PARENTHESIS=1
    -DSQLITE_DEFAULT_CACHE_SIZE=1000
    -DSQLITE_MAX_LENGTH=2147483645
    -DSQLITE_MAX_VARIABLE_NUMBER=500000
    -DSQLITE_DEBUG=1 
    -DSQLITE_PREFER_PROXY_LOCKING=1
  }
  "Extra-Robustness" {
    -DSQLITE_ENABLE_OVERSIZE_CELL_CHECK=1
  }






}

array set ::Platforms {
  Linux-x86_64 {
    "Secure-Delete"           test
    "Unlock-Notify"           "QUICKTEST_INCLUDE=notify2.test test"

    "Update-Delete-Limit"     test
    "Debug-One"               test
    "Extra-Robustness"        test
    "Device-Two"              test
    "Default"                 test
    "Device-One"              fulltest
  }
  Linux-i686 {

    "Unlock-Notify"           "QUICKTEST_INCLUDE=notify2.test test"
    "Device-Two"              test
    "Device-One"              test
    "Default"                 fulltest
  }
  Darwin-i386 {

    "Locking-Style"           test
    "OS-X"                    fulltest
  }
}

# End of configuration section.
#########################################################################
#########################################################################

................................................................................
  flush stdout

  set makecmd [concat                                  \
    [list exec make -C $dir -f $makefile clean]        \
    $testtarget                                        \
    [list CFLAGS=$cflags OPTS=$opts >& $dir/test.log]  \
  ]

  set tm1 [clock seconds] 
  set rc [catch $makecmd]
  set tm2 [clock seconds]

  set minutes [expr {($tm2-$tm1)/60}]
  set seconds [expr {($tm2-$tm1)%60}]
  puts -nonewline [format " (%d:%.2d) " $minutes $seconds]
  if {$rc} {
    puts "FAILED."
  } else {
    puts "Ok."
  }
}


# This proc processes the command line options passed to this script.