mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 12:48:51 +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
|
cmd = args.command
|
||||||
proc = None
|
proc = None
|
||||||
|
|
||||||
|
os.environ['HARNESS_ACTIVE'] = '1'
|
||||||
|
|
||||||
if format in ["auto", "gtest"]:
|
if format in ["auto", "gtest"]:
|
||||||
list_cmd = cmd + ["-l", "--verbose"]
|
list_cmd = cmd + ["-l", "--verbose"]
|
||||||
proc = subprocess.Popen(list_cmd, close_fds=True, stdout=subprocess.PIPE)
|
proc = subprocess.Popen(list_cmd, close_fds=True, stdout=subprocess.PIPE)
|
||||||
|
Loading…
Reference in New Issue
Block a user