newsAdvanced Gtk+ Sequencer - News: Facts matter - no more magic

 
 
Latest News
GSequencer v2.0.0 - forecast posted by jkraehemann, Tue 06 Feb 2018 03:04:57 PM UTC - 0 replies
Conservative multi-threaded setup posted by jkraehemann, Wed 17 Jan 2018 04:22:14 AM UTC - 0 replies
Goals of GSequencer 1.4.x posted by jkraehemann, Fri 05 Jan 2018 01:43:07 AM UTC - 0 replies
The 4 paste modes posted by jkraehemann, Wed 03 Jan 2018 12:26:29 AM UTC - 0 replies
Hi all posted by jkraehemann, Sun 31 Dec 2017 05:37:26 PM UTC - 0 replies
[Submit News]
[53 news in archive]

Facts matter - no more magic

Item posted by Joël Krähemann <jkraehemann> on Fri 31 Mar 2017 11:01:19 PM UTC.

Functional testing is mandatory in order to ensure the robustness of your application. GSequencer has got recently a basic functional test setup.

#include <ags/test/X/ags_functional_test_util.h> does mainly the job. It shall give you full automated testing control over Advanced Gtk+ Sequencer. The very first functional test using it is ags_functional_machine_add_and_destroy_test.c

It does for each built-in machine add it and destroy. This happens by calling g_signal_emit_by_name() and alike. Below you see the output of running within valgrind. If you ever tried to debug a GUI within valgrind, you know that can be quiet annoying. As the GUI's reaction is very slow.

Fixed memory corruption

The benefits are evident of functional testing. Just figured out a memory corruption as destroying AgsFFPlayer. There was some other wicked things going on. I was able to trigger SIGTRAP by calling following during the start of the test.

For now, the functional testing is going to be extended.

Bests,
Joël

Comments:

No messages in Facts matter - no more magic

 

Back to the top


Powered by Savane 3.1-cleanup1