Browse Source

setup file was killing test runner

Patrick Falls 12 years ago
parent
commit
e558f35522
1 changed files with 1 additions and 1 deletions
  1. 1 1
      revel/setup.py

+ 1 - 1
revel/setup.py

@@ -15,7 +15,7 @@ def stop():
   p = subprocess.Popen(['ps', 'aux'], stdout=subprocess.PIPE)
   p = subprocess.Popen(['ps', 'aux'], stdout=subprocess.PIPE)
   out, err = p.communicate()
   out, err = p.communicate()
   for line in out.splitlines():
   for line in out.splitlines():
-    if 'revel' in line:
+    if 'revel' in line and 'run-tests' not in line:
       pid = int(line.split(None, 2)[1])
       pid = int(line.split(None, 2)[1])
       os.kill(pid, 9)
       os.kill(pid, 9)
   return 0
   return 0