Kind of. Search for "g_test_trap_subprocess:" in https://mail.gnome.org/archives/commits-list/2012-December/msg05436.html. An important catch: do not forget to insert a ":" in the name of the subprocess, otherwise the testing environment does not know if it is a normal test function or a subprocess.