From 6806f864eb7f4bba8fcc3a4f35e3c04182d02062 Mon Sep 17 00:00:00 2001 From: Dan Kennedy Date: Wed, 17 Jan 2018 12:58:11 +0000 Subject: [PATCH] Omit the single test from zipfile.test that uses json functionality in non-SQLITE_ENABLE_JSON1 builds. --- test/zipfile.test | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/test/zipfile.test b/test/zipfile.test index c324e0d7c7..07fc80f602 100644 --- a/test/zipfile.test +++ b/test/zipfile.test @@ -75,13 +75,15 @@ do_execsql_test 1.4 { h.txt 1000000004 aaaaaaaaaabbbbbbbbbb 8 } -do_execsql_test 1.4.1 { - SELECT name, json_extract( zipfile_cds(z) , '$.crc32')!=0 - FROM zipfile('test.zip'); -} { - f.txt 1 - g.txt 1 - h.txt 1 +ifcapable json1 { + do_execsql_test 1.4.1 { + SELECT name, json_extract( zipfile_cds(z) , '$.crc32')!=0 + FROM zipfile('test.zip'); + } { + f.txt 1 + g.txt 1 + h.txt 1 + } } do_execsql_test 1.5.1 { -- 2.11.4.GIT