aboutsummaryrefslogtreecommitdiff
path: root/tests/errors.tcl
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2020-11-08 09:31:26 +1000
committerSteve Bennett <steveb@workware.net.au>2020-11-08 10:17:57 +1000
commit4b865fed1ad29c97c1b21757d953886758b22796 (patch)
tree809c9f5f10713cc01d42e45f0269c53559948b5b /tests/errors.tcl
parent8e1a22bac49a3acb1ee757ca34ed16b27bb7cd17 (diff)
downloadjimtcl-4b865fed1ad29c97c1b21757d953886758b22796.zip
jimtcl-4b865fed1ad29c97c1b21757d953886758b22796.tar.gz
jimtcl-4b865fed1ad29c97c1b21757d953886758b22796.tar.bz2
build: Fix build and tests for out-of-tree build
Loadable modules and tests Fixes #179 Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'tests/errors.tcl')
-rw-r--r--tests/errors.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/errors.tcl b/tests/errors.tcl
index 0992c59..37aff21 100644
--- a/tests/errors.tcl
+++ b/tests/errors.tcl
@@ -21,7 +21,7 @@ proc error_generator {type} {
package require dummy
}
source {
- source dummy.tcl
+ source [file dirname [info script]]/dummy.tcl
}
badpackage {
package require bogus