From e178399942c655d0fea162611527ea57192669c0 Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Tue, 7 Nov 2017 03:19:16 +0100 Subject: [PATCH 1/1] make test: fix logic for CACHE_OUTPUT option Change-Id: I9938c0154c860913e27cecb18ec68f247943a2e6 Signed-off-by: Klement Sekera --- test/framework.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.16.6