Commit e96ca491 authored by Christian Hergert's avatar Christian Hergert

build: setup test suite environment

This gives us some useful settings for debugging when unit tests are run
in automated environments.
parent 48cd16ee
Pipeline #113442 passed with stages
in 5 minutes and 4 seconds
......@@ -29,5 +29,5 @@ foreach test: libpeas_gtk_tests_sources
dependencies: libpeas_gtk_tests_deps
)
test('test-@0@'.format(test_name), test_exe)
test('test-@0@'.format(test_name), test_exe, env: test_env)
endforeach
......@@ -53,5 +53,5 @@ foreach test: libpeas_tests_sources
c_args: libpeas_tests_c_args,
)
test('test-@0@'.format(test_name), test_exe)
test('test-@0@'.format(test_name), test_exe, env: test_env)
endforeach
test_env = [
'G_DEBUG=gc-friendly',
'GSETTINGS_BACKEND=memory',
'MALLOC_CHECK_=2',
'NO_AT_BRIDGE=1',
]
subdir('testing-util')
subdir('libpeas')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment