Slight reformulation of some test code to test multi-arg wasm.peek() call form.

FossilOrigin-Name: 349bb28f614bc210b3283ed1c1144c45fbc7d9e2ffc3dc6193ccb9932d347efb
This commit is contained in:
stephan 2022-12-14 16:40:17 +00:00
parent 8a5c032b07
commit e5e61d40e9
3 changed files with 9 additions and 9 deletions

View File

@ -1105,11 +1105,11 @@ self.sqlite3InitModule = sqlite3InitModule;
T.assert(0 === rc);
}
wasm.poke32([pCur, pHi], 0);
let [vCur, vHi] = wasm.peek32([pCur, pHi]);
let [vCur, vHi] = wasm.peek32(pCur, pHi);
T.assert(0===vCur).assert(0===vHi);
rc = capi.sqlite3_status(capi.SQLITE_STATUS_MEMORY_USED,
pCur, pHi, 0);
[vCur, vHi] = wasm.peek32([pCur, pHi]);
[vCur, vHi] = wasm.peek32(pCur, pHi);
//console.warn("i32 vCur,vHi",vCur,vHi);
T.assert(0 === rc).assert(vCur > 0).assert(vHi >= vCur);
if(wasm.bigIntEnabled){

View File

@ -1,5 +1,5 @@
C Use\sthe\snew\speek/poke()\svariants\sthroughout\stester1.js.
D 2022-12-14T14:40:36.897
C Slight\sreformulation\sof\ssome\stest\scode\sto\stest\smulti-arg\swasm.peek()\scall\sform.
D 2022-12-14T16:40:17.727
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
@ -555,7 +555,7 @@ F ext/wasm/test-opfs-vfs.html 1f2d672f3f3fce810dfd48a8d56914aba22e45c6834e262555
F ext/wasm/test-opfs-vfs.js 44363db07b2a20e73b0eb1808de4400ca71b703af718d0fa6d962f15e73bf2ac
F ext/wasm/tester1-worker.html d43f3c131d88f10d00aff3e328fed13c858d674ea2ff1ff90225506137f85aa9
F ext/wasm/tester1.c-pp.html d34bef3d48e5cbc1c7c06882ad240fec49bf88f5f65696cc2c72c416933aa406
F ext/wasm/tester1.c-pp.js 3cd13daab6ee39b2adc1633997e8b61ce7951c413bb183a992a17f1d3ee3a508
F ext/wasm/tester1.c-pp.js 6d692f46f1d8bb0615b547680c71892bc8fa82ef054fa2b55134a6ba6c511180
F ext/wasm/tests/opfs/concurrency/index.html 86d8ac435074d1e7007b91105f4897f368c165e8cecb6a9aa3d81f5cf5dcbe70
F ext/wasm/tests/opfs/concurrency/test.js a98016113eaf71e81ddbf71655aa29b0fed9a8b79a3cdd3620d1658eb1cc9a5d
F ext/wasm/tests/opfs/concurrency/worker.js 0a8c1a3e6ebb38aabbee24f122693f1fb29d599948915c76906681bb7da1d3d2
@ -2067,8 +2067,8 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
P 14e3fc01b929fa3f9a2fdbd93deb4a8aad58c111d46369c772def0437152fa75
R 23370b5322c80a73b2e34c004e84a278
P ef7b783552f7783a728837fcfc81e493b135a7aac59747397e7e3d28f4309f95
R 69b57b7832989a3f15d31278da83eb54
U stephan
Z b5d32139016c804b0ff917b0b3fe6ad0
Z 4a759f802ddd912d8f969c788a0a3db7
# Remove this line to create a well-formed Fossil manifest.

View File

@ -1 +1 @@
ef7b783552f7783a728837fcfc81e493b135a7aac59747397e7e3d28f4309f95
349bb28f614bc210b3283ed1c1144c45fbc7d9e2ffc3dc6193ccb9932d347efb