Tests: standardize TAP_AUTOTIME parsing in python
[lttng-tools.git] / tests / utils / lttngtest / tap_generator.py
index f2c9fc2b02352baff4142a91d796d42e5a1e9c2d..e3d61e68818046ea25e975295cb52be3850c87a9 100644 (file)
@@ -86,7 +86,7 @@ class TapGenerator:
         self._printed_plan = False  # type: bool
         self._has_failure = False  # type: bool
         self._time_tests = True  # type: bool
-        if os.getenv("TAP_AUTOTIME", "1") == "" or os.getenv("TAP_AUTOTIME", "1") == "0":
+        if os.getenv("TAP_AUTOTIME", "1") == "0":
             self._time_tests = False
         self._last_time = _get_time_ns()
 
This page took 0.023374 seconds and 4 git commands to generate.