denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Testsuite, step 1


From: Richard Shann
Subject: Re: [Denemo-devel] Testsuite, step 1
Date: Wed, 13 Nov 2013 17:40:27 +0000

Eloi, I checked out the command-hash-table branch ran ./autogen.sh and re-built.
Running the program I open View->Command Center and immediately get:

Program received signal SIGSEGV, Segmentation fault.
get_menu_label (name=0x3a79c10 "Built-in, see file denemoui.xml for position")
    at ../../denemo/src/kbd-custom.c:2019
2019      command_row* row = g_hash_table_lookup(Denemo.map->commands, *idx);

where gives

#0  get_menu_label (
    name=0x3a79c10 "Built-in, see file denemoui.xml for position")
    at ../../denemo/src/kbd-custom.c:2019
#1  0x000000000043f304 in get_menu_position (menupath=<optimized out>)
    at ../../denemo/src/kbd-custom.c:2032
#2  0x000000000043f5a0 in keymap_change_binding_view_on_command_selection (
    selection=<optimized out>, model=<optimized out>, path=<optimized out>, 
    path_currently_selected=<optimized out>, data=0x759e80)
    at ../../denemo/src/kbd-custom.c:2117

Happens every time.

Richard



On Wed, 2013-11-13 at 17:02 +0100, Éloi Rivard wrote:
> Hi,
> 
> I have commited on the command-hash-table branch. On this branch
> denemo can be launched with no graphical interface (for example on a
> server). This is very useful for Travis for example. So now Travis
> launches denemo at each commit with the command : denemo -n -a
> "(d-Quit)". I would like to test some more complex command, but for
> now a lot of commands are dependent from the GUI.
> 
> 
> I had to move a lot of things to make denemo less dependent towards
> gtk.
> 
> It would be great if you can test this branch, so I can merge it and
> tackle the second step.
> 
> 
> When it is merged, I will try to set up a test-suite using Glib, and
> progressively add some tests. The first one should be to load and save
> a file for example.
> 
> 
> -- 
> Éloi Rivard - address@hidden
>         
> « On perd plus à être indécis qu'à se tromper. »
> 
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/denemo-devel





reply via email to

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