diff options
author | dan <Dan Kennedy> | 2024-12-16 19:31:30 +0000 |
---|---|---|
committer | dan <Dan Kennedy> | 2024-12-16 19:31:30 +0000 |
commit | c978e390e6522cb48810f738fb6b36f96cceaa2c (patch) | |
tree | e1bb1d2b5e6393059fb8e67e179d8dcae804cf3c /test | |
parent | 800bf8fd938c4ffafd8640996f98a6cec3329f8d (diff) | |
download | sqlite-c978e390e6522cb48810f738fb6b36f96cceaa2c.tar.gz sqlite-c978e390e6522cb48810f738fb6b36f96cceaa2c.zip |
Fix release test errors on winrt.
FossilOrigin-Name: 39bebd50b80ceee321b1da837c72a20cdb26f06e4b726f23e3ddac877d9400a7
Diffstat (limited to 'test')
-rw-r--r-- | test/shell1.test | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/test/shell1.test b/test/shell1.test index a272295f5..722418c7a 100644 --- a/test/shell1.test +++ b/test/shell1.test @@ -296,7 +296,9 @@ do_test shell1-3.2.4 { catchcmd "test.db" ".bail OFF BAD" } {1 {Usage: .bail on|off}} -ifcapable vtab { +# This test will not work on winrt, as winrt has no concept of the absolute +# paths that the test expects in the result. It uses relative paths only. +ifcapable vtab&&!winrt { # .databases List names and files of attached databases do_test shell1-3.3.1 { catchcmd "-csv test.db" ".databases" @@ -744,9 +746,12 @@ do_test shell1-3.26.6 { do_test shell1-3.27.1 { catchcmd "test.db" ".timer" } {1 {Usage: .timer on|off}} -do_test shell1-3.27.2 { - catchcmd "test.db" ".timer ON" -} {0 {}} +ifcapable !winrt { + # No timer support on winrt. + do_test shell1-3.27.2 { + catchcmd "test.db" ".timer ON" + } {0 {}} +} do_test shell1-3.27.3 { catchcmd "test.db" ".timer OFF" } {0 {}} |