On Tue, May 21, 2013 at 1:00 PM, Kornel Benko <kor...@lyx.org> wrote:
> Am Dienstag, 21. Mai 2013 um 12:24:55, schrieb Scott Kostyshak
> <skost...@lyx.org>
> If I remove the .lyx directory I see following:
>
> ................................
>
> # ctest -R 8684
>
> Test project /usr/BUILD/BuildLyxGit
>
> Start 139: autotests/bug-8684
>
> mmand-sequence change-next; change-reject; change-next
>
> 1/1 Test #139: autotests/bug-8684 ............... Passed 84.27 sec
>
>
>
> 100% tests passed, 0 tests failed out of 1
>
>
>
> Total Test time (real) = 84.79 sec
>
> 1.57 amd64.kornel 18:41 > mmand-sequence change-next; change-reject;
> change-next
>
> mmand-sequence: Command not found.
>
> Exit 1
>
> change-reject: Command not found.
>
> Exit 1
>
> change-next: Command not found.
>
> Exit 1
>
> .........................................
>
> 1.) The dialog-window appears, informing about directory-creation
>
> 2.) This sequence is written to the console: "mmand-sequence change-next;
> change-reject; change-next"

This is not recreating anything though, right? Because CMake creates
the directory, this should never happen (unless you manually remove
the directory).

> I modified the test, to create lyx-log1.txt and lyx-log2.txt.
Ah, yes, good idea. Thanks for doing that (did you commit?).

> lyx-log1.txt ends prematurely
>
> ...
> +checking for package fourier [fourier]... yes
>
> +checking for package garamondx [garamondx]... no
>
> EOL

OK so indeed the autotest is killing LyX so it is an autotest problem.
I guess that is good news. The keys should only be sent once the LyX
window is open.

>
>
>
> while lyx-log2.txt shows:
>
> Warning: Document class not available
>
> ----------------------------------------
>
> The selected document class
>
> IEEE Transactions
>
> requires external files that are not available.
>
> The document class can still be used, but the
>
> document cannot be compiled until the following
>
> prerequisites are installed:
>
> IEEEtran.cls
>
> See section 3.1.2.2 (Class Availability) of the
>
> User's Guide for more information.

Makes sense. LyX is poorly configured at this point.


> The interesting thing is, that the next ctest call passes, although I get
> the crash.
>
> lyx-log1.txt:
>
> support/lassert.cpp (43): ASSERTION false VIOLATED IN
> /usr/src/lyx/lyx-git/src/CursorSlice.cpp:157
>
> Assertion triggered in void lyx::doAssert(const char*, const char*, long
> int) by failing check "false" in file
> /usr/src/lyx/lyx-git/src/support/lassert.cpp:45
>
> Buffer.cpp (1356): /usr/BUILD/BuildLyxGit/autotests/bug-8684.lyx.emergency

I don't understand why this happens but it probably has to do with LyX
being poorly configured.

> This was the first time I observed this.

It it the first time you try to run one of the tests without configuring first?

One solution is that before each autotest is run, check to see if LyX
is configured. If not, run autotests/first-time.

Scott

Reply via email to