From: Stef Walter Date: Thu, 6 Mar 2014 11:50:46 +0000 (+0100) Subject: tap-gtester: Set a standard environment variable for test harness X-Git-Tag: 0.18~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=083902c18546f8b698d7125848ede411113ef177;p=platform%2Fupstream%2Flibsecret.git tap-gtester: Set a standard environment variable for test harness Lets tests know whether they're running under an automated testing harness. --- 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)