glib/tests/refcount
Iain Lane 07a1a8031d
installed tests: Allow tests to set environment variables
It's necessary sometimes for installed tests to be able to run with a
custom environment. For example, the gsocketclient-slow test requires an
LD_PRELOADed library to provide a slow connect() (this is to be added in
a followup commit).

Introduce a variable `@env@` into the installed test template, which we
can override as necessary when generating `.test` files, to run tests
prefixed with `/usr/bin/env <LIST OF VARIABLES>`.

As the only test that requires this currently lives in `gio/tests/`, we
are only hooking this up for that directory right now. If other tests in
future require this treatment, then the support can be extended at that
point.
2019-02-13 09:43:49 +00:00
..
closures.c Merge branch 'tests-tsan' into 'master' 2018-11-13 13:12:38 +00:00
meson.build installed tests: Allow tests to set environment variables 2019-02-13 09:43:49 +00:00
objects2.c tests/: Include unistd.h on *NIX only 2013-11-11 22:37:39 +08:00
objects.c tests: Various minor leak fixes in the GObject tests 2018-06-29 12:13:32 +01:00
properties2.c tests/: Include unistd.h on *NIX only 2013-11-11 22:37:39 +08:00
properties3.c Drop trailing semi-colon from G_DEFINE_ macro 2017-04-10 10:38:31 +01:00
properties4.c Drop trailing semi-colon from G_DEFINE_ macro 2017-04-10 10:38:31 +01:00
properties.c tests/: Include unistd.h on *NIX only 2013-11-11 22:37:39 +08:00
signals.c tests: Fix data races in refcount/signals.c 2018-11-04 17:28:51 +01:00