Cmake build autotests:

Correct the environment MAX_LOOP -> MAX_LOOPS
This commit is contained in:
Kornel Benko 2012-12-15 12:58:31 +01:00
parent 8bd16005a9
commit 0b82548b5e
2 changed files with 10 additions and 9 deletions

View File

@ -10,17 +10,18 @@ KK: o\Axregexp-mode\[Return].* a\[Return]
TestEnd
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 8' lyx-log.txt
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
TestBegin test.lyx -dbg find > lyx-log2.txt 2>&1
KK: \C\[Home]\CF
KK: o\Axregexp-mode\[Return][[:word:]]* a
KD: 200
KK: \Al\Ar\[Return]
KK: \Al\Ar
KD: 500
KK: \[Return]
KD: 100
TestEnd
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 26\n with len: 6' lyx-log.txt
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 26\n with len: 6' lyx-log2.txt
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
TestBegin test.lyx -dbg find > lyx-log3.txt 2>&1
KK: \C\[Home]\CF
KK: \Axregexp-mode\[Return].* \Al\Ar\[Return]\[Return]\[Return]
TestEnd
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 10\n with len: 3' lyx-log.txt
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 10\n with len: 3' lyx-log3.txt

View File

@ -60,7 +60,7 @@ set(ENV{KEYTEST_INFILE} "${AUTOTEST_ROOT}/${KEYTEST_INFILE}")
set(ENV{KEYTEST_OUTFILE} "${WORKDIR}/${KEYTEST_OUTFILE}")
set(ENV{PO_BUILD_DIR} "${PO_BUILD_DIR}")
set(ENV{MAX_DROP} 0)
set(ENV{MAX_LOOP} 1)
set(ENV{MAX_LOOPS} 1)
file(GLOB _testfiles RELATIVE "${WORKDIR}" "test*.*" "#test*.*")
if(_testfiles)
# remove some leftover files from previous test