aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2017-11-07 03:19:16 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-11-10 20:29:15 +0000
commite178399942c655d0fea162611527ea57192669c0 (patch)
tree2d2a5a1b25b8233aede84e0b10bfe87b1eed49c0 /test
parentbeb85cc662beda891989872b90bfd2a95e3c7a5a (diff)
make test: fix logic for CACHE_OUTPUT option
Change-Id: I9938c0154c860913e27cecb18ec68f247943a2e6 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test')
-rw-r--r--test/framework.py2
1 files changed, 1 insertions, 1 deletions
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)