summaryrefslogtreecommitdiff
path: root/test-suite/guile-test
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/guile-test')
-rwxr-xr-xtest-suite/guile-test8
1 files changed, 4 insertions, 4 deletions
diff --git a/test-suite/guile-test b/test-suite/guile-test
index 43ea48174..4a264b426 100755
--- a/test-suite/guile-test
+++ b/test-suite/guile-test
@@ -239,9 +239,10 @@
(lambda ()
(for-each (lambda (test)
(display (string-append "Running " test "\n"))
- (with-locale "C"
- (with-test-prefix test
- (load (test-file-name test)))))
+ (when (defined? 'setlocale)
+ (setlocale LC_ALL "C"))
+ (with-test-prefix test
+ (load (test-file-name test))))
tests))))
(if (opt 'coverage #f)
(let-values (((coverage-data _)
@@ -263,5 +264,4 @@
;;; Local Variables:
;;; mode: scheme
-;;; eval: (put 'with-locale 'scheme-indent-function 1)
;;; End: