Index: Makefile.in ================================================================== --- Makefile.in +++ Makefile.in @@ -56,11 +56,11 @@ $(INSTALL) -d '$(DESTDIR)$(PACKAGE_INSTALL_DIR)' $(INSTALL) -t '$(DESTDIR)$(PACKAGE_INSTALL_DIR)' @EXTENSION_TARGET@ pkgIndex.tcl # Test target, run the automated test suite test: @EXTENSION_TARGET@ - cd tests && @TCLSH_PROG@ all.tcl + @TCLSH_PROG@ @srcdir@/tests/all.tcl $(TESTFLAGS) -load "lappend auto_path $(shell pwd)" # Clean the local build directory for rebuild against the same configuration clean: rm -f tls.o tlsBIO.o tlsIO.o tlsX509.o rm -f tcltls.@SHOBJEXT@ Index: tests/all.tcl ================================================================== --- tests/all.tcl +++ tests/all.tcl @@ -7,11 +7,12 @@ # Copyright (c) 1998-2000 by Ajuba Solutions. # All rights reserved. # # RCS: @(#) $Id: all.tcl,v 1.5 2000/08/15 18:45:01 hobbs Exp $ -set auto_path [linsert $auto_path 0 [file normalize [file join [file dirname [info script]] ..]]] +#set auto_path [linsert $auto_path 0 [file normalize [file join [file dirname [info script]] ..]]] +set auto_path [linsert $auto_path 0 [file normalize [pwd]]] if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest namespace import ::tcltest::* }