[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] travis build failing

From: Éloi Rivard
Subject: Re: [Denemo-devel] travis build failing
Date: Fri, 13 Jun 2014 09:57:28 +0200

I have fixed tests.

integration tests opens every file in fixtures/PATH_TO_THE_TEST, saves it into tmp/PATH_TO_THE_TEST
If references/PATH_TO_THE_TEST exists, the test compares the reference, and the saved file. If not, the test compares the original file and the saved file (only for denemo files).

For example, let's consider a test named fixtures/denemo/foobar.denemo . The test will open it and saves it as tmp/denemo/foobar.denemo . If references/denemo/foobar.denemo exists, it is compared with the saved file, if not, it is compared with fixtures/denemo/foobar.denemo.

The failing test files are suffixed with .bak (ChangeNoteEnharmonicUp.denemo TextSpanStart.denemo note-insertion.denemo). I let you remove the suffix, and create the matching reference file if you want.

2014-06-04 10:00 GMT+02:00 Richard Shann <address@hidden>:
On Tue, 2014-06-03 at 14:44 +0200, Éloi Rivard wrote:
> Yes I am. I won't have many times until next week though.
No problem, I just wanted to save you the job of figuring out what has
The last new command I added allows the user to insert an external file
into the typeset music (for example, the user can create a set of verses
arranged in columns using some document production program, export the
result as encapsulated postscript and then place this at the end of the
Denemo score where only the first verse underlays the music).
This raises a problem for creating a test - the test script would need
to know where, in the travis environment, the sample eps file is stored.


> 2014-06-02 9:38 GMT+02:00 Richard Shann <address@hidden>:
>         I made two sets of changes to the .denemo file format, so all
>         the .denemo files need updating for the tests to pass. I guess
>         you are
>         still working towards a target for make that would run the
>         tests and
>         update the expected outputs?
>         Richard
> --
> Éloi Rivard - address@hidden
> « On perd plus à être indécis qu'à se tromper. »

Éloi Rivard - address@hidden
« On perd plus à être indécis qu'à se tromper. »

reply via email to

[Prev in Thread] Current Thread [Next in Thread]