[packages/phantomjs/dev-2.1] cookie tests pass with C locale

glen glen at pld-linux.org
Fri Mar 25 11:57:40 CET 2016


commit cd1d27e62dc96f2786b0caec4c5a69c98474f74a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Mar 25 12:57:18 2016 +0200

    cookie tests pass with C locale

 phantomjs.spec | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/phantomjs.spec b/phantomjs.spec
index 2ff90db..f2a7b21 100644
--- a/phantomjs.spec
+++ b/phantomjs.spec
@@ -136,10 +136,6 @@ rm -r src/linenoise
 %patch6 -p1
 %{?with_system_qcommandline:%patch7 -p1}
 
-# cookie tests fail
-mv module/cookiejar/to-map.js{,.skip}
-mv module/webpage/cookies.js{,.skip}
-
 %build
 qtconfig() {
 	for a in "$@"; do
@@ -180,7 +176,10 @@ qtconfig=" \
 	--confirm --release
 
 %if %{with tests}
-test/run-tests.py -v
+# note, these cookie tests fail with non-C locale:
+# - module/cookiejar/to-map.js
+# - module/webpage/cookies.js
+LC_ALL=C test/run-tests.py -v
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/phantomjs.git/commitdiff/cd1d27e62dc96f2786b0caec4c5a69c98474f74a



More information about the pld-cvs-commit mailing list