glib/tests/gobject
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
..
.gitignore .gitignore: add "signals" 2013-09-28 10:39:01 -04:00
accumulator.c tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
defaultiface.c tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
deftype.c tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
dynamictype.c tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
gvalue-test.c tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
meson.build installed tests: Allow tests to set environment variables 2019-02-13 09:43:49 +00:00
override.c tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
paramspec-test.c gobject: Reimplement g_param_values_cmp() for GParamSpecVariant 2018-05-04 18:17:59 +01:00
performance-threaded.c tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
performance.c Initialize variables before using them 2018-03-28 11:49:59 +01:00
references.c tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
signals.c tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
singleton.c gobject: fix typecasts via g_object_ref 2017-12-04 11:42:58 +00:00
testcommon.h tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
testgobject.c Deprecate g_type_class_add_private() 2018-06-14 11:33:53 +01:00
testmarshal.list Add g_value_take_variant 2010-06-19 19:07:36 +02:00
testmodule.c tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
testmodule.h tests/: LGPLv2+ -> LGPLv2.1+ 2017-05-29 19:53:35 +02:00
timeloop-closure.c Consistently save errno immediately after the operation setting it 2017-08-03 10:21:13 +01:00