| Description: |
OriginalBugID: 1565 Bug
Version: 8.1b2
SubmitDate: '1999-03-19'
LastModified: '1999-03-25'
Severity: LOW
Status: Closed
Submitter: pat
ChangedBy: surles
OS: Other
Machine: NA
ClosedDate: '1999-03-25'
Name:
Don Porter
ReproducibleScript:
$ cd tk8.1b2/unix
$ ./configure --enable-gcc --enable-shared
$ make
$ make runtest
ObservedBehavior:
...
./tktest
/bin/sh: ./tktest: not found
make: *** [runtest] Error 1
DesiredBehavior:
make runtest should start the testing shell tktest
with all the path variable nonsense taken care of.
A dependency should make sure ./tktest exists.
Patch:
Index: sun/tk/unix/Makefile.in
diff -c sun/tk/unix/Makefile.in:1.1.1.8 sun/tk/unix/Makefile.in:1.2
*** sun/tk/unix/Makefile.in:1.1.1.8 Wed Mar 17 12:02:48 1999
--- sun/tk/unix/Makefile.in Fri Mar 19 19:17:03 1999
***************
*** 406,412 ****
./tktest $(TOP_DIR)/tests/all.tcl -geometry +0+0
# Useful target to launch a built tktest with the proper path,...
! runtest:
LD_LIBRARY_PATH=`pwd`:${TCL_BIN_DIR}:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH; SHLIB_PATH=`pwd`:${TCL_BIN_DIR}:${SHLIB_PATH}; --- 406,412 ----
./tktest $(TOP_DIR)/tests/all.tcl -geometry +0+0
# Useful target to launch a built tktest with the proper path,...
! runtest: tktest
LD_LIBRARY_PATH=`pwd`:${TCL_BIN_DIR}:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH; SHLIB_PATH=`pwd`:${TCL_BIN_DIR}:${SHLIB_PATH};
PatchFiles:
unix/Makefile.in
Looking at the comment directly above the runtest target, it notes that this target is for
ease of use. It assumes that tcltest has been built and is up to date. It's sole purpose
is to set all of the env variables and launch tcltest the same way that the test target does.
Since this is what runtest was designed to do, and the comments back this up, I'm closing
this bug. 03/25/1999 15:21 - surles -
|