mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 04:38:55 +00:00
tap-gtester: Set a standard environment variable for test harness
Lets tests know whether they're running under an automated testing harness.
This commit is contained in:
parent
c28233973b
commit
083902c185
@ -151,6 +151,8 @@ def main(argv):
|
||||
cmd = args.command
|
||||
proc = None
|
||||
|
||||
os.environ['HARNESS_ACTIVE'] = '1'
|
||||
|
||||
if format in ["auto", "gtest"]:
|
||||
list_cmd = cmd + ["-l", "--verbose"]
|
||||
proc = subprocess.Popen(list_cmd, close_fds=True, stdout=subprocess.PIPE)
|
||||
|
Loading…
Reference in New Issue
Block a user