From dbe6fa16f8dfe2c0a32ee41f1116c211ae6923ae Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Mon, 15 Apr 2024 15:27:27 +0000 Subject: [PATCH] Use "-encoding utf-8" in some test targets --- Makefile.in | 6 +++--- itclWidget/Makefile.in | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile.in b/Makefile.in index 82ba4d8f..ef5c837a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -263,12 +263,12 @@ gdb: gdb-test: binaries libraries $(TCLSH_ENV) $(PKG_ENV) $(GDB) \ - --args $(TCLSH_PROG) `@CYGPATH@ $(srcdir)/tests/all.tcl` \ + --args $(TCLSH_PROG) -encoding utf-8 `@CYGPATH@ $(srcdir)/tests/all.tcl` \ $(TESTFLAGS) -singleproc 1 -load "$(TESTLOADARG)" valgrind: binaries libraries $(TCLSH_ENV) $(PKG_ENV) $(VALGRIND) $(VALGRINDARGS) $(TCLSH_PROG) \ - `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS) + -encoding utf-8 `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS) valgrindshell: binaries libraries $(TCLSH_ENV) $(PKG_ENV) $(VALGRIND) $(VALGRINDARGS) $(TCLSH_PROG) $(SCRIPT) @@ -276,7 +276,7 @@ valgrindshell: binaries libraries depend: genstubs: $(srcdir)/tools/genStubs.tcl $(srcdir)/generic/itcl.decls - $(TCLSH) $(srcdir)/tools/genStubs.tcl $(srcdir)/generic $(srcdir)/generic/itcl.decls + $(TCLSH) -encoding utf-8 $(srcdir)/tools/genStubs.tcl $(srcdir)/generic $(srcdir)/generic/itcl.decls #======================================================================== # $(PKG_LIB_FILE) should be listed as part of the BINARIES variable diff --git a/itclWidget/Makefile.in b/itclWidget/Makefile.in index 71560c4e..dbb34c5d 100755 --- a/itclWidget/Makefile.in +++ b/itclWidget/Makefile.in @@ -235,7 +235,7 @@ install-doc: doc done test: binaries libraries - $(TCLSH) `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS) -load "package require itcl" + $(TCLSH) -encoding utf-8 `@CYGPATH@ $(srcdir)/tests/all.tcl` $(TESTFLAGS) -load "package require itcl" shell: binaries libraries @$(TCLSH) $(SCRIPT) @@ -245,7 +245,7 @@ gdb: gdb-test: binaries libraries $(TCLSH_ENV) $(PKG_ENV) $(GDB) \ - --args $(TCLSH_PROG) `@CYGPATH@ $(srcdir)/tests/all.tcl` \ + --args $(TCLSH_PROG) -encoding utf-8 `@CYGPATH@ $(srcdir)/tests/all.tcl` \ $(TESTFLAGS) -singleproc 1 -load "$(TESTLOADARG)" valgrind: binaries libraries