Index: build/test/tests/09-smallzip-nobase.tcl ================================================================== --- build/test/tests/09-smallzip-nobase.tcl +++ build/test/tests/09-smallzip-nobase.tcl @@ -2,10 +2,17 @@ # Abort if we cant read the tmpfile path from the environment if {![info exists ::env(TMPFILE)]} { exit 0 } + +# Abort this test if we don't have vfs::zip +if {[catch { + package require vfs::zip +}]} { + exit 0 +} set tmpfile $::env(TMPFILE) vfs::zip::Mount $tmpfile $tmpfile Index: build/test/tests/10-smallzip-withbase.tcl ================================================================== --- build/test/tests/10-smallzip-withbase.tcl +++ build/test/tests/10-smallzip-withbase.tcl @@ -2,10 +2,17 @@ # Abort if we cant read the tmpfile path from the environment if {![info exists ::env(TMPFILE)]} { exit 0 } + +# Abort this test if we don't have vfs::zip +if {[catch { + package require vfs::zip +}]} { + exit 0 +} set tmpfile $::env(TMPFILE) vfs::zip::Mount $tmpfile $tmpfile