testTrapSubprocess

fun testTrapSubprocess(testPath: String? = null, usecTimeout: <Error class: unknown class>, testFlags: TestSubprocessFlags)

Respawns the test program to run only @test_path in a subprocess.

This is equivalent to calling g_test_trap_subprocess_with_envp() with envp set to null. See the documentation for that function for full details.

Since

2.38

Parameters

testPath

Test to run in a subprocess

usecTimeout

Timeout for the subprocess test in micro seconds.

testFlags

Flags to modify subprocess behaviour.