From 65bab05ce08d9ec89af4920559b47b3d91366c62 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sun, 6 Jan 2013 21:33:01 +0100 Subject: [PATCH] Don't exit autotest if a test fails --- fabfile.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fabfile.py b/fabfile.py index 370c81be..3321cb16 100644 --- a/fabfile.py +++ b/fabfile.py @@ -1,4 +1,4 @@ -from fabric.api import local +from fabric.api import local, settings def test(path=None): @@ -9,7 +9,8 @@ def test(path=None): def autotest(path=None): while True: local('clear') - test(path) + with settings(warn_only=True): + test(path) local( 'inotifywait -q -e create -e modify -e delete ' '--exclude ".*\.(pyc|sw.)" -r mopidy/ tests/')