From a020b54dc2bb037e90bc93dbc81f44d26f35de52 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Tue, 13 Dec 2011 01:24:15 +0100 Subject: [PATCH] Don't run if TEST_GENERATE is set --- tests/test_pretty_print.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_pretty_print.py b/tests/test_pretty_print.py index 85f4ec7e..80a887ae 100755 --- a/tests/test_pretty_print.py +++ b/tests/test_pretty_print.py @@ -489,6 +489,8 @@ builddir = os.getcwd() # os.getcwd()+'/build' verbose = False maxretry = 10 +if bool(os.getenv("TEST_GENERATE")): sys.exit(0) + failed_only = False if '--failed-only' in sys.argv: failed_only = True