Am Montag, 17. April 2017 um 10:26:26, schrieb Kornel Benko <kor...@lyx.org>
> Wait a moment, in the mean time I found what's wrong with 
> keytest/findadv-re-01.
> The expected message did not show in lyx-log.txt although manual retest 
> displays it correctly.
> So I added 'KK: \Ax' as the last command before 'TestEnd' to output mode 
> debug msgs.
> Now this test passes. (See attached)

With this, all findadv tests pass. (std-regex)

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

diff --git a/development/autotests/findadv-18-in.txt b/development/autotests/findadv-18-in.txt
index 7d6ae89..a8bdc63 100644
--- a/development/autotests/findadv-18-in.txt
+++ b/development/autotests/findadv-18-in.txt
@@ -6,6 +6,7 @@ KK: a b c\C\[Home]
 KK: \Cs
 KK: \CF
 KK: \Axregexp-mode\[Return]\\s\[Return]
+KK: \Ax
 TestEnd
 Lang C
 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 1\n with len: 1' lyx-log.txt
diff --git a/development/autotests/findadv-re-01-in.txt b/development/autotests/findadv-re-01-in.txt
index 502bd32..693f303 100644
--- a/development/autotests/findadv-re-01-in.txt
+++ b/development/autotests/findadv-re-01-in.txt
@@ -6,6 +6,7 @@ KK: \\()[]{}%^#@?*.\C\[Home]
 KK: \Cs
 KK: \CF
 KK: \Axregexp-mode\[Return]\\(\[Return]
+KK: \Ax
 TestEnd
 Lang C
 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 1\n with len: 1' lyx-log.txt
@@ -16,6 +17,7 @@ KK: \CF
 # Uncheck ignore format
 KK: \At\Ai\Ah
 KK: \Axregexp-mode\[Return]\\(\[Return]
+KK: \Ax
 TestEnd
 Lang C
 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 1\n with len: 1' lyx-log.txt
@@ -26,6 +28,7 @@ Lang it_IT.utf8
 TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
 KK: \CF
 KK: \Axregexp-mode\[Return]\\[\[Return]
+KK: \Ax
 TestEnd
 Lang C
 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 3\n with len: 1' lyx-log.txt
@@ -36,6 +39,7 @@ KK: \CF
 # Uncheck ignore format
 KK: \At\Ai\Ah
 KK: \Axregexp-mode\[Return]\\[\[Return]
+KK: \Ax
 TestEnd
 Lang C
 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 3\n with len: 1' lyx-log.txt
diff --git a/development/autotests/findadv-re-02-in.txt b/development/autotests/findadv-re-02-in.txt
index f5f0382..1d93225 100644
--- a/development/autotests/findadv-re-02-in.txt
+++ b/development/autotests/findadv-re-02-in.txt
@@ -6,6 +6,7 @@ KK: \\()[]{}%^#@?*.\C\[Home]
 KK: \Cs
 KK: \CF
 KK: \Axregexp-mode\[Return]\\\\\[Return]
+KK: \Ax
 TestEnd
 Lang C
 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 1' lyx-log.txt
@@ -16,6 +17,7 @@ KK: \CF
 # Uncheck ignore format
 KK: \At\Ai\Ah
 KK: \Axregexp-mode\[Return]\\\\\[Return]
+KK: \Ax
 TestEnd
 Lang C
 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 1' lyx-log.txt
@@ -26,6 +28,7 @@ Lang it_IT.utf8
 TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
 KK: \CF
 KK: \Axregexp-mode\[Return]%\[Return]
+KK: \Ax
 TestEnd
 Lang C
 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 7\n with len: 1' lyx-log.txt
@@ -36,6 +39,7 @@ KK: \CF
 # Uncheck ignore format
 KK: \At\Ai\Ah
 KK: \Axregexp-mode\[Return]%\[Return]
+KK: \Ax
 TestEnd
 Lang C
 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 7\n with len: 1' lyx-log.txt
@@ -46,6 +50,7 @@ Lang it_IT.utf8
 TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
 KK: \CF
 KK: \Axregexp-mode\[Return]\\^\[Return]
+KK: \Ax
 TestEnd
 Lang C
 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 1' lyx-log.txt
@@ -56,6 +61,7 @@ KK: \CF
 # Uncheck ignore format
 KK: \At\Ai\Ah
 KK: \Axregexp-mode\[Return]\\^\[Return]
+KK: \Ax
 TestEnd
 Lang C
 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 1' lyx-log.txt
diff --git a/development/autotests/findadv-re-03-in.txt b/development/autotests/findadv-re-03-in.txt
index 406b7bf..d9b75ac 100644
--- a/development/autotests/findadv-re-03-in.txt
+++ b/development/autotests/findadv-re-03-in.txt
@@ -6,6 +6,7 @@ KK: \\()[]{}%^#@?*.\C\[Home]
 KK: \Cs
 KK: \CF
 KK: \Axregexp-mode\[Return]\\{\[Return]
+KK: \Ax
 TestEnd
 Lang C
 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 5\n with len: 1' lyx-log.txt
@@ -16,6 +17,7 @@ KK: \CF
 # Uncheck ignore format
 KK: \At\Ai\Ah
 KK: \Axregexp-mode\[Return]\\{\[Return]
+KK: \Ax
 TestEnd
 Lang C
 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 5\n with len: 1' lyx-log.txt
@@ -26,6 +28,7 @@ Lang it_IT.utf8
 TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
 KK: \CF
 KK: \Axregexp-mode\[Return]\\}\[Return]
+KK: \Ax
 TestEnd
 Lang C
 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 6\n with len: 1' lyx-log.txt
@@ -36,6 +39,7 @@ KK: \CF
 # Uncheck ignore format
 KK: \At\Ai\Ah
 KK: \Axregexp-mode\[Return]\\}\[Return]
+KK: \Ax
 TestEnd
 Lang C
 Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 6\n with len: 1' lyx-log.txt

Reply via email to