]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Enhancements to the hex literal tests. hex-literal
authormistachkin <mistachkin@noemail.net>
Wed, 23 Jul 2014 19:04:25 +0000 (19:04 +0000)
committermistachkin <mistachkin@noemail.net>
Wed, 23 Jul 2014 19:04:25 +0000 (19:04 +0000)
FossilOrigin-Name: a3cc027fa7ca41da23ecd0770a075a48416af020

manifest
manifest.uuid
test/hexlit.test

index 70612a16ab4863fe2d8b1cde20caee2013e46844..eafe7918686c74158359a27e7262023d21b63c46 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Remove\sa\ssurplus\sfunction\sprototype.\s\s#ifdef\scode\sthat\sis\snot\sused\swhen\nhex\sintegers\sare\somitted\sat\scompile\stime.
-D 2014-07-23T14:52:05.196
+C Enhancements\sto\sthe\shex\sliteral\stests.
+D 2014-07-23T19:04:25.426
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in 5eb79e334a5de69c87740edd56af6527dd219308
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -601,7 +601,7 @@ F test/fuzz_malloc.test 328f70aaca63adf29b4c6f06505ed0cf57ca7c26
 F test/fuzzer1.test d4c52aaf3ef923da293a2653cfab33d02f718a36
 F test/fuzzerfault.test 8792cd77fd5bce765b05d0c8e01b9edcf8af8536
 F test/genesis.tcl 1e2e2e8e5cc4058549a154ff1892fe5c9de19f98
-F test/hexlit.test 1dc49cfd1c8938a8f028e392775bc3e61623ec46
+F test/hexlit.test f9ecde8145bfc2341573473256c74ae37a200497
 F test/hook.test 162d7cef7a2d2b04839fe14402934e6a1b79442f
 F test/icu.test 70df4faca133254c042d02ae342c0a141f2663f4
 F test/in.test 047c4671328e9032ab95666a67021adbbd36e98e
@@ -1184,7 +1184,7 @@ F tool/vdbe_profile.tcl 67746953071a9f8f2f668b73fe899074e2c6d8c1
 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
 F tool/warnings.sh 0abfd78ceb09b7f7c27c688c8e3fe93268a13b32
 F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
-P 6c6f0de59bf96b79c8ace8c9bfe48c7a6a306a50
-R 9da9b225ebea231badb4246df3d3d1b3
-U drh
-Z 6e030ade89af7e36cbcb367d7755ee7b
+P a5b383e077e4b277a65920f7cc202f32f07aa9ee
+R 623c41f29572bef99f944ba802bce57d
+U mistachkin
+Z 3da04c4e52c1109f378a2e2e3819b02f
index af55c0e7ef9985d850d8dc643030acc1752c2726..af3d91e158e7b8235ccdccc945f61e69e7134c58 100644 (file)
@@ -1 +1 @@
-a5b383e077e4b277a65920f7cc202f32f07aa9ee
\ No newline at end of file
+a3cc027fa7ca41da23ecd0770a075a48416af020
\ No newline at end of file
index 41133aba0ff8f19f7b8ba7d27be47fedc8782bda..10909e6f4c011c6c9ceb6547d3b3ada80b833b4b 100644 (file)
@@ -84,28 +84,14 @@ hexlit1 160 0X1000000000000000 1152921504606846976
 hexlit1 161 0x2000000000000000 2305843009213693952
 hexlit1 162 0X4000000000000000 4611686018427387904
 hexlit1 163 0x8000000000000000 -9223372036854775808
+hexlit1 164 0XFFFFFFFFFFFFFFFF -1
 
-hexlit1 200 0x001 1
-hexlit1 201 0X002 2
-hexlit1 202 0x003 3
-hexlit1 203 0X004 4
-hexlit1 204 0x005 5
-hexlit1 205 0X006 6
-hexlit1 206 0x007 7
-hexlit1 207 0X008 8
-hexlit1 208 0x009 9
-hexlit1 209 0x00a 10
-hexlit1 210 0x00A 10
-hexlit1 211 0x00b 11
-hexlit1 212 0x00B 11
-hexlit1 213 0x00c 12
-hexlit1 214 0x00C 12
-hexlit1 215 0x00d 13
-hexlit1 216 0x00D 13
-hexlit1 217 0x00e 14
-hexlit1 218 0x00E 14 
-hexlit1 219 0x00f 15
-hexlit1 220 0x00F 15
+for {set n 1} {$n < 0x10} {incr n} {
+  hexlit1 200.$n.1 0X[format %03X $n] $n
+  hexlit1 200.$n.2 0x[format %03X $n] $n
+  hexlit1 200.$n.3 0X[format %03x $n] $n
+  hexlit1 200.$n.4 0x[format %03x $n] $n
+}
 
 # String literals that look like hex do not get cast or coerced.
 #