• Iain Lane's avatar
    installed tests: Allow tests to set environment variables · 07a1a803
    Iain Lane authored
    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.
    07a1a803
Name
Last commit
Last update
..
collate Loading commit data...
gobject Loading commit data...
refcount Loading commit data...
.gitignore Loading commit data...
assert-msg-test.c Loading commit data...
assert-msg-test.gdb Loading commit data...
asyncqueue-test.c Loading commit data...
atomic-test.c Loading commit data...
bit-test.c Loading commit data...
casefold.txt Loading commit data...
casemap.txt Loading commit data...
child-test.c Loading commit data...
completion-test.c Loading commit data...
cxx-test.cpp Loading commit data...
datetime.c Loading commit data...
dirname-test.c Loading commit data...
env-test.c Loading commit data...
file-test.c Loading commit data...
gen-casefold-txt.py Loading commit data...
gen-casemap-txt.py Loading commit data...
gio-test.c Loading commit data...
iochannel-test-infile Loading commit data...
iochannel-test.c Loading commit data...
libmoduletestplugin_a.c Loading commit data...
libmoduletestplugin_b.c Loading commit data...
mainloop-test.c Loading commit data...
mapping-test.c Loading commit data...
memchunks.c Loading commit data...
meson.build Loading commit data...
module-test.c Loading commit data...
onceinit.c Loading commit data...
qsort-test.c Loading commit data...
relation-test.c Loading commit data...
run-assert-msg-test.sh Loading commit data...
run-collate-tests.sh Loading commit data...
slice-color.c Loading commit data...
slice-concurrent.c Loading commit data...
slice-test.c Loading commit data...
slice-threadinit.c Loading commit data...
sources.c Loading commit data...
spawn-test-win32-gui.c Loading commit data...
spawn-test.c Loading commit data...
testgdate.c Loading commit data...
testgdateparser.c Loading commit data...
testglib.c Loading commit data...
thread-test.c Loading commit data...
threadpool-test.c Loading commit data...
timeloop-basic.c Loading commit data...
timeloop.c Loading commit data...
type-test.c Loading commit data...
unicode-caseconv.c Loading commit data...
unicode-collate.c Loading commit data...
unicode-encoding.c Loading commit data...
unicode-normalize.c Loading commit data...
utf8.txt Loading commit data...