Skip to content

Commit

Permalink
Use "-encoding utf-8" in some test targets
Browse files Browse the repository at this point in the history
  • Loading branch information
jan.nijtmans committed Apr 15, 2024
1 parent 8c544a6 commit dbe6fa1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -263,20 +263,20 @@ 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)

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
Expand Down
4 changes: 2 additions & 2 deletions itclWidget/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit dbe6fa1

Please sign in to comment.