variable vfs::dll
if {$::tcl_platform(platform) eq "unix"} {
- set dll libvfs1.0
+ if {[info exists ::tcl_platform(debug)]} {
+ set dll libvfs1.0g
+ } else {
+ set dll libvfs1.0
+ }
} elseif {[info exists ::tcl_platform(debug)]} {
set dll vfs10d
} else {
puts stdout "Done zipping"
cd [file dirname [info script]]
- package require vfs
+ package require vfs::zip
set mount [vfs::zip::Mount tests.zip tests.zip]
cd tests.zip
return [list vfs::zip::Unmount $mount tests.zip]
puts stdout "Done making mk4 archive"
cd [file dirname [info script]]
- package require vfs
+ package require vfs::mk4
set mount [vfs::mk4::Mount tests.bin tests.bin]
cd tests.bin
return [list vfs::mk4::Unmount $mount tests.bin]
namespace import ::tcltest::*
}
-package require vfs
-if {![auto_load ::vfs::ftp::Mount]} {
- lappend auto_path [file join [file dirname \
- [file dirname [file normalize [info script]]]] library]
-}
+package require vfs::ftp
puts stdout "These tests require an internet connection, and might"
puts stdout "take a long time to complete."
namespace import ::tcltest::*
}
-package require vfs
-if {![auto_load ::vfs::urltype::Mount]} {
- lappend auto_path [file join [file dirname \
- [file dirname [file normalize [info script]]]] library]
-}
+package require vfs::urltype
puts stdout "These tests require an internet connection, and might"
puts stdout "take a long time to complete."
namespace import ::tcltest::*
}
+package require vfs::zip
all: setup $(PROJECT).dll
+test:
+ tclsh84 $(ROOT)/tests/all.tcl $(TESTFLAGS)
+
setup:
-@md $(WINDIR)