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

 
 
Latest News
Advanced Gtk+ Sequencer v2.1.x - implementing server parts posted by jkraehemann, Sun 04 Nov 2018 11:53:45 PM UTC - 0 replies
Extending the test-suite of v2.0.x posted by jkraehemann, Wed 10 Oct 2018 02:38:35 AM UTC - 0 replies
Got segfault after a while of recording posted by jkraehemann, Thu 20 Sep 2018 03:04:31 PM UTC - 0 replies
Advanced Gtk+ Sequencer v2.0.0 - new major release posted by jkraehemann, Mon 10 Sep 2018 03:20:12 AM UTC - 0 replies
currently dealing with capture of soundcard posted by jkraehemann, Tue 04 Sep 2018 12:21:58 AM UTC - 0 replies
[Submit News]
[67 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

No messages in Facts matter - no more magic

 

Back to the top


Powered by Savane 3.3