[pcre-dev] [Bug 2157] "make check" fails on macOS 10.12

Página Inicial
Delete this message
Autor: admin
Data:  
Para: pcre-dev
Assunto: [pcre-dev] [Bug 2157] "make check" fails on macOS 10.12
https://bugs.exim.org/show_bug.cgi?id=2157

--- Comment #2 from Eiichi Yokota <suishouen@???> ---
(In reply to Philip Hazel from comment #1)

> Please can you run "uname" on your system, note what the output is, and then
> modify the line in RunGrepTest that reads
>
> if [ `uname` != "SunOS" ] ; then
>
> changing "SunOS" to the result of your "uname". This will cut out that
> particular test. If that solves the problem, please report back and I will
> change the line so that it cuts out the test for both operating systems.



Thanks for your quick support.

1) I applied the patch:

diff -u /pcre2-10.30/RunGrepTest /pcre2-10.30-dev/RunGrepTest 
--- /pcre2-10.30/RunGrepTest    2017-07-19 01:47:56.000000000 +0900
+++ /pcre2-10.30-test/RunGrepTest     2017-08-17 05:01:24.000000000 +0900
@@ -681,7 +681,7 @@
 # works.


printf "%c--------------------------- Test N7
------------------------------\r\n" - >>testtrygrep
-if [ `uname` != "SunOS" ] ; then
+if [ `uname` != "Darwin" ] ; then
printf "abc\0def" >testNinputgrep
$valgrind $vjs $pcre2grep -na --newline=nul "^(abc|def)" testNinputgrep |
sed 's/\x00/ZERO/' >>testtrygrep
echo "" >>testtrygrep


2) "make check" succeeds ending up with:


PASS: RunTest
PASS: RunGrepTest
=======================================
Testsuite summary for PCRE2 10.30
=======================================
# TOTAL: 2
# PASS: 2
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
=======================================

--
You are receiving this mail because:
You are on the CC list for the bug.