diff options
author | Stef Walter <stefw@gnome.org> | 2014-03-06 12:50:46 +0100 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2014-03-06 12:50:46 +0100 |
commit | 083902c18546f8b698d7125848ede411113ef177 (patch) | |
tree | cbba79600caf2ec8d535189e08784f6662f0710b /build | |
parent | c28233973bb18c4cc52411928de9c65989598e5e (diff) | |
download | libsecret-083902c18546f8b698d7125848ede411113ef177.tar.gz |
tap-gtester: Set a standard environment variable for test harness
Lets tests know whether they're running under an automated
testing harness.
Diffstat (limited to 'build')
-rwxr-xr-x | build/tap-gtester | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build/tap-gtester b/build/tap-gtester index ff7506a..4b9dafb 100755 --- a/build/tap-gtester +++ b/build/tap-gtester @@ -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) |