Revision: 2989
Author: janne.t.harkonen
Date: Thu Apr 15 02:50:01 2010
Log: Some test may fail if syslog level is debug or trace
http://code.google.com/p/robotframework/source/detail?r=2989

Modified:
 /trunk/atest/run_atests.py

=======================================
--- /trunk/atest/run_atests.py  Mon Mar  9 06:38:56 2009
+++ /trunk/atest/run_atests.py  Thu Apr 15 02:50:01 2010
@@ -70,14 +70,14 @@
         'OUTPUTDIR' : RESULTDIR,
         'INTERPRETER': interpreter,
         'PLATFORM': sys.platform,
-        'RUNNER': ('python' in os.path.basename(interpreter) and 'pybot'
+        'RUNNER': ('python' in os.path.basename(interpreter) and 'pybot'
                    or 'jybot')
         }
     runner = os.path.join(os.path.dirname(robot.__file__), 'runner.py')
command = '%s %s %s %s' % (sys.executable, runner, args, ' '.join(params))
     print 'Running command\n%s\n' % command
     sys.stdout.flush()
-    return subprocess.call(command.split())
+ return subprocess.call(command.split(), env={'ROBOT_SYSLOG_LEVEL': 'INFO'})


 def buildbot(interpreter, *params):
@@ -100,4 +100,4 @@
         rc = buildbot(*sys.argv[2:])
     else:
         rc = atests(*sys.argv[1:])
-    sys.exit(rc)
+    sys.exit(rc)


--
To unsubscribe, reply using "remove me" as the subject.

Reply via email to