make test: fix logic for CACHE_OUTPUT option 53/9253/2
authorKlement Sekera <ksekera@cisco.com>
Tue, 7 Nov 2017 02:19:16 +0000 (03:19 +0100)
committerDamjan Marion <dmarion.lists@gmail.com>
Fri, 10 Nov 2017 20:29:15 +0000 (20:29 +0000)
Change-Id: I9938c0154c860913e27cecb18ec68f247943a2e6
Signed-off-by: Klement Sekera <ksekera@cisco.com>
test/framework.py

index 3386c20..210eadb 100644 (file)
@@ -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)