Skip to content

Commit

Permalink
do not force installed tests of packages to a C locale
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@85751 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
ripley committed Dec 29, 2023
1 parent 9657752 commit 8326465
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/Makefile.install
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ include Makefile.common

## GNU gettext disables LANGUAGE if LC_ALL=C, but other systems might not.
R = LANGUAGE=en LC_ALL=C SRCDIR=$(srcdir) R_DEFAULT_PACKAGES= $(top_builddir)/bin/R --vanilla
## grDevices should be run in an UTF-8 locale
R0 = LANGUAGE=en SRCDIR=$(srcdir) R_DEFAULT_PACKAGES= $(top_builddir)/bin/R --vanilla
R2 = R_DEFAULT_PACKAGES= $(top_builddir)/bin/R --vanilla
RCHK = $(top_builddir)/bin/R CMD check
RDIFF = $(top_builddir)/bin/R CMD Rdiff
Expand Down Expand Up @@ -46,11 +48,11 @@ test-Internet:

test-BasePackages:
@$(MKINSTALLDIRS) Packages
@$(ECHO) "tools::testInstalledPackages(outDir='Packages', scope='base')" | $(R) --no-echo
@$(ECHO) "tools::testInstalledPackages(outDir='Packages', scope='base')" | $(R0) --no-echo

test-Recommended:
@$(MKINSTALLDIRS) Packages
@$(ECHO) "tools::testInstalledPackages(outDir='Packages', scope='recommended')" | $(R) --no-echo
@$(ECHO) "tools::testInstalledPackages(outDir='Packages', scope='recommended')" | $(R0) --no-echo


mostlyclean: clean
Expand Down

0 comments on commit 8326465

Please sign in to comment.