diff options
Diffstat (limited to 'runtest.exp')
-rw-r--r-- | runtest.exp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtest.exp b/runtest.exp index 6a53a56..9380732 100644 --- a/runtest.exp +++ b/runtest.exp @@ -700,7 +700,10 @@ verbose "Testsuite root is $testsuitedir" verbose "Tool root directory is $tool_root_dir" set execpath [file dirname $argv0] -set libdir [file dirname $execpath]/dejagnu + +# The runtest.exp file is installed directly in libdir. +# Conveniently, the source tree layout is the same as the installed libdir. +set libdir [file dirname $argv0] if {[info exists env(DEJAGNULIBS)]} { set libdir $env(DEJAGNULIBS) } |