From: Kornel Benko Date: Sat, 7 Dec 2013 12:06:27 +0000 (+0100) Subject: Cmake test environment. X-Git-Tag: 2.1.0rc1~351 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9422053f4935327e0009672c0f13028246de0363;p=features.git Cmake test environment. Expanded search for an image to \ecvpicture{} in the preamble. --- diff --git a/development/autotests/lyxStatus.pm b/development/autotests/lyxStatus.pm index 05537e7acb..9b917cc345 100644 --- a/development/autotests/lyxStatus.pm +++ b/development/autotests/lyxStatus.pm @@ -194,9 +194,9 @@ sub checkForPreamble($) $selem{name} = $1; unshift(@stack, \%selem); my $rElem = &newMatch("ext" => [".eps", ".png"], - "search" => '^\\\\photo(.*\{)(.*)\}', - "fileidx" => 2, - "result" => ["\\photo", "1", "2", "}"]); + "search" => '^\\\\(photo|ecvpicture)(.*\{)(.*)\}', + "fileidx" => 3, + "result" => ["\\", "1", "2", "3", "}"]); &setMatching([$rElem]); return(1); }