Avoid running thread1.test or thread2.test if SQLITE_MUTEX_NOOP is defined.

FossilOrigin-Name: 532ae32ea0f5e821dac643cbc4b041c103cadfdc
This commit is contained in:
dan
2011-04-07 14:05:47 +00:00
parent 7329ed9b38
commit fe98f9b216
4 changed files with 10 additions and 17 deletions
+1 -4
View File
@@ -19,10 +19,7 @@ source $testdir/tester.tcl
# Skip this whole file if the thread testing code is not enabled
#
ifcapable !mutex {
finish_test
return
}
if {[run_thread_tests]==0} { finish_test ; return }
if {[llength [info command thread_step]]==0 || [sqlite3 -has-codec]} {
finish_test
return