From: Klement Sekera Date: Tue, 7 Nov 2017 02:19:16 +0000 (+0100) Subject: make test: fix logic for CACHE_OUTPUT option X-Git-Tag: v18.04-rc0~271 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=e178399942c655d0fea162611527ea57192669c0;hp=beb85cc662beda891989872b90bfd2a95e3c7a5a;p=vpp.git make test: fix logic for CACHE_OUTPUT option Change-Id: I9938c0154c860913e27cecb18ec68f247943a2e6 Signed-off-by: Klement Sekera --- diff --git a/test/framework.py b/test/framework.py index 3386c201e33..210eadbf4c5 100644 --- a/test/framework.py +++ b/test/framework.py @@ -222,7 +222,7 @@ class VppTestCase(unittest.TestCase): try: c = os.getenv("CACHE_OUTPUT", "1") cls.cache_vpp_output = \ - True if c.lower() in ("y", "yes", "1") else False + False if c.lower() in ("n", "no", "0") else True except: cls.cache_vpp_output = True cls.set_debug_flags(d)