From 8a7f4c0d6e5b881875f52b4ba75bb95445577dd4 Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Tue, 17 Jul 2012 01:33:18 +0200 Subject: [PATCH] Fixed tests exist status. --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b1d5cb48..0c95f811 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,8 @@ import httpie if sys.argv[-1] == 'test': - sys.exit(os.system('python tests/tests.py')) + status = os.system('python tests/tests.py') + sys.exit(1 if status > 127 else status) requirements = [