denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Master is badly broken


From: Éloi Rivard
Subject: Re: [Denemo-devel] Master is badly broken
Date: Mon, 14 Apr 2014 09:25:53 +0200

Ok .mxml test reading is on master now.
I also pushed the "refactor" branch, with some refactoring I need to import NWC files (that is on yet another branch). It mostly renames some functions, and split some files into tinier files. Can you please check that all seem correct to you ? I would like to merge this before it becomes too difficult to merge.

Next step is comparing tested files (mxml, denemo) with some expected files…


2014-04-08 11:25 GMT+02:00 Richard Shann <address@hidden>:
On Tue, 2014-04-08 at 10:40 +0200, Éloi Rivard wrote:
> I saw you added some .xml test files. For the moment, only .mxml files
> are loaded, I will edit the test so .xml are loaded too.
It might be better to rename them from .xml to .mxml - there is some
funny container format that the sponsors of MusicXML use, with a
different suffix. Just .xml is rather ambiguous.

Richard




>
>
>
> 2014-04-04 18:34 GMT+02:00 Richard Shann <address@hidden>:
>         On Fri, 2014-04-04 at 16:12 +0200, Éloi Rivard wrote:
>         > Test suite now tries to open, save and re-open every .denemo
>         file in
>         > "examples" and every .mxml files in
>         "tests/integration-data".
>
>
>         That's a good start, but I think it really needs to check the
>         saved .denemo file has not regressed. We would need to check
>         in a set of
>         expected .denemo files, which could be done quite neatly by
>         make check
>         doing a diff against the expected .denemo file if it exists
>         else copying
>         the .denemo file it has created into the directory of
>         expected .denemo
>         files. Once a "git add" has been done on the "expected"
>         directory then
>         make check will be doing a regression test.
>         This is particularly needed while we have no test that any
>         scheme script
>         ended without throwing an exception from Guile.
>         There are no scripts that deliberately cause errors now - I
>         updated the
>         one that did that - but many scripts trigger an error if the
>         user
>         responds strangely or if the user is using the guile command
>         line in
>         Denemo. Such a guile throw wouldn't happen for scripts we use
>         as tests
>         (such as mxml import) so we could put something in the current
>         guile
>         throw handler for script errors that make check could detect,
>         without
>         having to exit Denemo abnormally. (I'm not sure what that
>         would be in
>         the environment that travis uses - perhaps a file that is
>         written to if
>         the standard_handler() in view.c is executed).
>
>         But even if with that I think we need to check for changes to
>         generated .denemo files, (the most common problem would be
>         that some
>         innocent-looking change would result in the cursor not being
>         in the same
>         position and then the score generated would end up completely
>         different).
>
>         Does that sound ok to you?
>
>         Richard
>
>
>         >
>         > If you want to do some more mxml checks, you just needs to
>         add some
>         > files in tests/integration-data
>         >
>         >
>         >
>         > 2014-04-03 0:29 GMT+02:00 Éloi Rivard <address@hidden>:
>         >         Richard,
>         >
>         >         Does the "refactor" branch seem ok to you ?
>         >
>         >
>         >
>         >         2014-03-31 18:05 GMT+02:00 Richard Shann
>         >         <address@hidden>:
>         >
>         >                 Jeremiah - please don't build from the
>         latest commit
>         >
>         http://git.savannah.gnu.org/gitweb/?p=denemo.git;a=commit;h=af6ae4aaa753e77e5dada20f5328959cbe76971f
>         >
>         >                 as it breaks Denemo in ways I have yet to
>         fathom.
>         >                 Attached is a file
>         >                 which just crashed trying to open it.
>         >                 This file could be corrupt (because of the
>         crash) ...
>         >
>         >                 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. »
>         >
>
>
>
>
>
>
> --
> É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]