From: drh Date: Fri, 20 Aug 2010 10:28:28 +0000 (+0000) Subject: Do not attempt run backwards compatibility tests if no historical X-Git-Tag: version-3.7.2~10^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a6c4196604ff86df004e8b7e37d5fc6273581c5a;p=thirdparty%2Fsqlite.git Do not attempt run backwards compatibility tests if no historical "testfixture" binaries are available. FossilOrigin-Name: 40e11aabc7668e1c9db43d9183edb445996254bd --- diff --git a/manifest b/manifest index 4cf92718b1..b9a4afa44a 100644 --- a/manifest +++ b/manifest @@ -1,8 +1,8 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -C Disable\sthe\sMEMSYS2\sauxiliary\sroutines\sif\sMEMSYS2\sis\schanged\sto\san\salternative\nmemory\sallocator\susing\sSQLITE_CONFIG_MALLOC. -D 2010-08-20T09:53:20 +C Do\snot\sattempt\srun\sbackwards\scompatibility\stests\sif\sno\shistorical\s\n"testfixture"\sbinaries\sare\savailable. +D 2010-08-20T10:28:28 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in 543f91f24cd7fee774ecc0a61c19704c0c3e78fd F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 @@ -262,7 +262,7 @@ F test/autoindex1.test 7df441bf0e7a88644eb80993339dbf1db3a12c68 F test/autovacuum.test bb7c0885e6f8f1d633045de48f2b66082162766d F test/autovacuum_ioerr2.test 598b0663074d3673a9c1bc9a16e80971313bafe6 F test/avtrans.test 0252654f4295ddda3b2cce0e894812259e655a85 -F test/backcompat.test 0627eeeabefdceae16fa2d5cf920d6cc926f4daa +F test/backcompat.test 6df9e6d8c7be6d574e78fd352faa5f94fb744f7a F test/backup.test 200e64bd91244b73ca8094bc1e03dfc83cc94c2e F test/backup2.test b7c69f937c912e85ac8a5dbd1e1cf290302b2d49 F test/backup_ioerr.test 1f012e692f42c0442ae652443258f70e9f20fa38 @@ -848,14 +848,14 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f -P 0426cd62d5ef2bd09570835c78f8fc3bcb7cdd49 -R bb794b07f256cd00b205b08f63c32658 +P 541dd3b870f123a5fddf0b710474693566a1d659 +R 4eb7b3fde86b871098654da31a09bd98 U drh -Z 9d8596e43956a79725c5c4debb4ff7e8 +Z 03ad677ea220cb018d8c7d6c4e495440 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) -iD8DBQFMblCToxKgR168RlERAtLaAJ4sNfpcsYXXZy9snzT5twUBl3oCzgCfQx37 -VI2puMgM19z9REsc6fsD1nY= -=DM/T +iD8DBQFMbljQoxKgR168RlERArM1AJwN21jnJBboIAig9FX+ba3jM0fTkQCdGHgu +kFXqx+JxqN9vD3YYc0CxXdk= +=gv2j -----END PGP SIGNATURE----- diff --git a/manifest.uuid b/manifest.uuid index d5927175ed..ae2db540e3 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -541dd3b870f123a5fddf0b710474693566a1d659 \ No newline at end of file +40e11aabc7668e1c9db43d9183edb445996254bd \ No newline at end of file diff --git a/test/backcompat.test b/test/backcompat.test index 40f25cdbd5..bab83902f7 100644 --- a/test/backcompat.test +++ b/test/backcompat.test @@ -34,15 +34,16 @@ db close # against. # set binaries [list] -set pattern "[file tail [info nameofexec]]*" +set pattern "[file tail [info nameofexec]]?*" if {$tcl_platform(platform)=="windows"} { set pattern [string map {\.exe {}} $pattern] } -foreach file [glob $pattern] { - if {[file executable $file]} {lappend binaries $file} +foreach file [glob -nocomplain $pattern] { + if {[file executable $file] && } {lappend binaries $file} } if {[llength $binaries]==0} { - puts "WARNING: No binaries to test against. No tests have been run." + puts "WARNING: No historical binaries to test against." + puts "WARNING: No backwards-compatibility tests have been run." finish_test return } @@ -53,7 +54,9 @@ proc get_version {binary} { set v } foreach bin $binaries { - puts "Testing against $bin - version [get_version $bin]" + puts -nonewline "Testing against $bin - " + flush stdout + puts "version [get_version $bin]" } proc do_backcompat_test {rv bin1 bin2 script} {