summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-15 18:53:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-15 18:53:37 (GMT)
commitfe2b267ee9d5dff5839a3d018e8a200c2dd368ba (patch)
tree0e80bde482458449a4cd6ff3ce9991f78743b846 /win
parent35173f328a7bdde339fa7c8ab2d417e3793b17ed (diff)
downloadtk-fe2b267ee9d5dff5839a3d018e8a200c2dd368ba.zip
tk-fe2b267ee9d5dff5839a3d018e8a200c2dd368ba.tar.gz
tk-fe2b267ee9d5dff5839a3d018e8a200c2dd368ba.tar.bz2
Add support for "wine", and fix 2 test-cases which fail in wine
Diffstat (limited to 'win')
-rw-r--r--win/Makefile.in15
1 files changed, 8 insertions, 7 deletions
diff --git a/win/Makefile.in b/win/Makefile.in
index 3c1c9e3..f035219 100644
--- a/win/Makefile.in
+++ b/win/Makefile.in
@@ -216,6 +216,7 @@ NO_DEPRECATED_FLAGS = -DTCL_NO_DEPRECATED
# required just to do a normal build although it can be required to run
# make dist.
TCL_EXE = @TCLSH_PROG@
+WINE = @WINE@
CC_SWITCHES = ${CFLAGS} ${CFLAGS_WARNING} ${SHLIB_CFLAGS} \
-I"${GENERIC_DIR_NATIVE}" -I"${WIN_DIR_NATIVE}" \
@@ -440,23 +441,23 @@ $(MAN2TCL): $(TCL_SRC_DIR)/tools/man2tcl.c
test: test-classic test-ttk
test-classic: binaries $(TKTEST) $(TEST_DLL_FILE) $(CAT32)
- $(SHELL_ENV) ./$(TKTEST) "$(ROOT_DIR_NATIVE)/tests/all.tcl" \
- $(TESTFLAGS) | ./$(CAT32)
+ $(SHELL_ENV) $(WINE) ./$(TKTEST) "$(ROOT_DIR_NATIVE)/tests/all.tcl" \
+ $(TESTFLAGS) | $(WINE) ./$(CAT32)
test-ttk: binaries $(TKTEST) $(TEST_DLL_FILE) $(CAT32)
- $(SHELL_ENV) ./$(TKTEST) "$(ROOT_DIR_NATIVE)/tests/ttk/all.tcl" \
- $(TESTFLAGS) | ./$(CAT32)
+ $(SHELL_ENV) $(WINE) ./$(TKTEST) "$(ROOT_DIR_NATIVE)/tests/ttk/all.tcl" \
+ $(TESTFLAGS) | $(WINE) ./$(CAT32)
runtest: binaries $(TKTEST) $(TEST_DLL_FILE)
- $(SHELL_ENV) ./$(TKTEST) $(TESTFLAGS) $(SCRIPT)
+ $(SHELL_ENV) $(WINE) ./$(TKTEST) $(TESTFLAGS) $(SCRIPT)
# This target can be used to run wish from the build directory
# via `make shell` or `make shell SCRIPT=foo.tcl`
shell: binaries
- $(SHELL_ENV) ./$(WISH) $(SCRIPT)
+ $(SHELL_ENV) $(WINE) ./$(WISH) $(SCRIPT)
demo: $(WISH)
- $(SHELL_ENV) ./$(WISH) $(ROOT_DIR)/library/demos/widget
+ $(SHELL_ENV) $(WINE) ./$(WISH) $(ROOT_DIR)/library/demos/widget
# This target can be used to run wish inside either gdb or insight
gdb: binaries