diff options
author | pooryorick <com.digitalsmarties@pooryorick.com> | 2021-05-13 15:22:50 (GMT) |
---|---|---|
committer | pooryorick <com.digitalsmarties@pooryorick.com> | 2021-05-13 15:22:50 (GMT) |
commit | 737753205d0da04de457fb36afb75cb90b133bbe (patch) | |
tree | c4d9971039253e0abda1063a8696c9cdbbef6547 /unix | |
parent | 7caa74e545eca8815d27ceba5b1fead663ed6a6b (diff) | |
download | tcl-737753205d0da04de457fb36afb75cb90b133bbe.zip tcl-737753205d0da04de457fb36afb75cb90b133bbe.tar.gz tcl-737753205d0da04de457fb36afb75cb90b133bbe.tar.bz2 |
Fix quoting issues in gdb-test and lldb targets.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/Makefile.in | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in index 5a06a1d..8bf9def 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -902,18 +902,13 @@ test-tcl: ${TCLTEST_EXE} $(SHELL_ENV) ./${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl $(TESTFLAGS) gdb-test: ${TCLTEST_EXE} - @echo "set env @LD_LIBRARY_PATH_VAR@=`pwd`:$${@LD_LIBRARY_PATH_VAR@}" > gdb.run - @echo "set env TCL_LIBRARY=${TCL_BUILDTIME_LIBRARY}" >> gdb.run - @echo "set args $(TOP_DIR)/tests/all.tcl $(TESTFLAGS) -singleproc 1" >> gdb.run - $(GDB) ./${TCLTEST_EXE} --command=gdb.run - @rm gdb.run + $(SHELL_ENV) $(GDB) --args ./${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl \ + $(TESTFLAGS) -singleproc 1 lldb-test: ${TCLTEST_EXE} - @echo "settings set target.env-vars @LD_LIBRARY_PATH_VAR@=`pwd`:$${@LD_LIBRARY_PATH_VAR@}" > lldb.run - @echo "settings set target.env-vars TCL_LIBRARY=${TCL_BUILDTIME_LIBRARY}" >> lldb.run - $(LLDB) --source lldb.run ./${TCLTEST_EXE} -- $(TOP_DIR)/tests/all.tcl \ + $(SHELL_ENV) $(LLDB) -- ./${TCLTEST_EXE} $(TOP_DIR)/tests/all.tcl \ $(TESTFLAGS) -singleproc 1 - @rm lldb.run + # Useful target to launch a built tcltest with the proper path,... runtest: ${TCLTEST_EXE} |