validate: launcher: Add some missing env variables in command to launch test
authorThibault Saunier <thibault.saunier@osg.samsung.com>
Tue, 11 Jul 2017 14:11:33 +0000 (10:11 -0400)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Tue, 11 Jul 2017 14:11:49 +0000 (10:11 -0400)
validate/launcher/apps/gstcheck.py
validate/launcher/baseclasses.py

index e9780c2..b3eea9a 100644 (file)
@@ -64,6 +64,7 @@ class MesonTest(Test):
         # No reason to fork since we are launching
         # each test individually
         env['CK_FORK'] = 'no'
+        self.add_env_variable('CK_FORK', 'no')
         for var, val in self.child_env.items():
             self.add_env_variable(var, val)
 
index 52c8868..e203b1a 100644 (file)
@@ -154,7 +154,7 @@ class Test(Loggable):
             if res:
                 res += " "
             value = self.proc_env.get(var, None)
-            if value:
+            if value is not None:
                 res += "%s='%s'" % (var, value)
 
         return res